diff mercurial/destutil.py @ 37375:a973bb92ab71

bookmarks: drop always-None argument from calculateupdate() Thanks to Yuya for noticing. Differential Revision: https://phab.mercurial-scm.org/D3135
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 05 Apr 2018 08:28:12 -0700
parents e27298bf11dd
children b95992605ef1
line wrap: on
line diff
--- 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