diff -r ac42e39b1b77 -r a973bb92ab71 mercurial/destutil.py --- a/mercurial/destutil.py Tue Apr 03 09:58:16 2018 -0700 +++ b/mercurial/destutil.py Thu Apr 05 08:28:12 2018 -0700 @@ -56,7 +56,7 @@ """decide on an update destination from active bookmark""" # we also move the active bookmark, if any node = None - activemark, movemark = bookmarks.calculateupdate(repo.ui, repo, None) + activemark, movemark = bookmarks.calculateupdate(repo.ui, repo) if activemark is not None: node = repo.lookup(activemark) return node, movemark, activemark