diff -r f74217289c0a -r a7462ca7f75e mercurial/commands.py --- a/mercurial/commands.py Thu Oct 18 22:33:58 2012 +0200 +++ b/mercurial/commands.py Thu Oct 18 22:35:28 2012 +0200 @@ -851,7 +851,7 @@ bookmarks.setcurrent(repo, mark) bookmarks.write(repo) - else: # mark is None + else: # show bookmarks if len(marks) == 0: ui.status(_("no bookmarks set\n")) elif inactive: