diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5579,7 +5579,7 @@ def summary(ui, repo, **opts): 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') diff --git a/tests/test-bookmarks.t b/tests/test-bookmarks.t --- a/tests/test-bookmarks.t +++ b/tests/test-bookmarks.t @@ -471,7 +471,7 @@ update to current bookmark if it's not t 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