changeset 44553:dc25de8117e4

rebase: remove unused defaults argument values from _definedestmap() The caller always provides values for these arguments. Differential Revision: https://phab.mercurial-scm.org/D8291
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 13 Mar 2020 16:36:31 -0700
parents f10055b099b3
children c4c97cabfc16
files hgext/rebase.py
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/rebase.py	Sun Feb 16 17:47:20 2020 -0500
+++ b/hgext/rebase.py	Fri Mar 13 16:36:31 2020 -0700
@@ -1217,16 +1217,7 @@
                     rbsrt._finishrebase()
 
 
-def _definedestmap(
-    ui,
-    repo,
-    inmemory,
-    destf=None,
-    srcf=None,
-    basef=None,
-    revf=None,
-    destspace=None,
-):
+def _definedestmap(ui, repo, inmemory, destf, srcf, basef, revf, destspace):
     """use revisions argument to define destmap {srcrev: destrev}"""
     if revf is None:
         revf = []