--- a/mercurial/commands.py Sat Feb 13 20:13:45 2016 +0900
+++ b/mercurial/commands.py Fri Feb 26 20:22:05 2016 +0900
@@ -5566,6 +5566,10 @@
pass # no-op update
elif bookmarks.update(repo, [movemarkfrom], repo['.'].node()):
ui.status(_("updating bookmark %s\n") % repo._activebookmark)
+ elif brev in repo._bookmarks:
+ if brev != repo._activebookmark:
+ ui.status(_("(activating bookmark %s)\n") % brev)
+ bookmarks.activate(repo, brev)
return ret
if modheads > 1:
currentbranchheads = len(repo.branchheads())