diff mercurial/bookmarks.py @ 15984:894f83a35653 stable

bookmarks: respect --debug during incoming/outgoing
author David Soria Parra <dsp@php.net>
date Wed, 25 Jan 2012 20:03:46 +0100
parents 60cb4f381a78
children 7c75924a6926
line wrap: on
line diff
--- 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"))