rebase: remove unused defaults argument values from _definedestmap()
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 13 Mar 2020 16:36:31 -0700
changeset 44553 dc25de8117e4
parent 44552 f10055b099b3
child 44554 c4c97cabfc16
rebase: remove unused defaults argument values from _definedestmap() The caller always provides values for these arguments. Differential Revision: https://phab.mercurial-scm.org/D8291
hgext/rebase.py
--- 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 = []