summary: add missing space for updated active bookmark display
authorMatt Mackall <mpm@selenic.com>
Sat, 09 Feb 2013 22:54:34 +0000
changeset 18623 0027a5cec9d0
parent 18622 f9eebf5629fa
child 18624 4db216b1c154
child 18641 6204e4d4dd6d
summary: add missing space for updated active bookmark display
mercurial/commands.py
tests/test-bookmarks.t
--- 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