bookmarks: respect --debug during incoming/outgoing stable
authorDavid Soria Parra <dsp@php.net>
Wed, 25 Jan 2012 20:03:46 +0100
branchstable
changeset 15984 894f83a35653
parent 15983 32b9aee3602c
child 15985 740b1b4c7958
bookmarks: respect --debug during incoming/outgoing
mercurial/bookmarks.py
--- a/mercurial/bookmarks.py	Wed Jan 25 16:52:16 2012 +0100
+++ b/mercurial/bookmarks.py	Wed Jan 25 20:03:46 2012 +0100
@@ -221,7 +221,8 @@
 
     diff = sorted(set(rmarks) - set(lmarks))
     for k in diff:
-        ui.write("   %-25s %s\n" % (k, rmarks[k][:12]))
+        mark = ui.debugflag and rmarks[k] or rmarks[k][:12]
+        ui.write("   %-25s %s\n" % (k, mark))
 
     if len(diff) <= 0:
         ui.status(_("no changed bookmarks found\n"))