changeset 18623:0027a5cec9d0

summary: add missing space for updated active bookmark display
author Matt Mackall <mpm@selenic.com>
date Sat, 09 Feb 2013 22:54:34 +0000
parents f9eebf5629fa
children 4db216b1c154 6204e4d4dd6d
files mercurial/commands.py tests/test-bookmarks.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Feb 08 21:47:22 2013 +0000
+++ b/mercurial/commands.py	Sat Feb 09 22:54:34 2013 +0000
@@ -5579,7 +5579,7 @@
                 ui.write(' *' + current, label='bookmarks.current')
                 marks.remove(current)
             else:
-                ui.write('[%s]' % current, label='bookmarks.current')
+                ui.write(' [%s]' % current, label='bookmarks.current')
         for m in marks:
             ui.write(' ' + m, label='log.bookmark')
         ui.write('\n', label='log.bookmark')
--- a/tests/test-bookmarks.t	Fri Feb 08 21:47:22 2013 +0000
+++ b/tests/test-bookmarks.t	Sat Feb 09 22:54:34 2013 +0000
@@ -471,7 +471,7 @@
   parent: 2:db815d6d32e6 
    2
   branch: default
-  bookmarks:[Z] Y x  y
+  bookmarks: [Z] Y x  y
   commit: 1 added, 1 unknown (new branch head)
   update: 2 new changesets (update)
   $ hg update