changeset 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 32b9aee3602c
children 740b1b4c7958
files mercurial/bookmarks.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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"))