D4872: identify: show remote bookmarks in `hg id url -Tjson -B`

valentin.gatienbaron (Valentin Gatien-Baron) phabricator at mercurial-scm.org
Thu Oct 4 08:31:49 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfcad7fdc6474: identify: show remote bookmarks in `hg id url -Tjson -B` (authored by valentin.gatienbaron, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4872?vs=11656&id=11672

REVISION DETAIL
  https://phab.mercurial-scm.org/D4872

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3111,7 +3111,7 @@
                     output.append(bm)
         else:
             fm.data(node=hex(remoterev))
-            if 'bookmarks' in fm.datahint():
+            if bookmarks or 'bookmarks' in fm.datahint():
                 fm.data(bookmarks=fm.formatlist(getbms(), name='bookmark'))
     else:
         if rev:



To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list