Patchwork D8291: rebase: remove unused defaults argument values from _definedestmap()

login
register
mail settings
Submitter phabricator
Date March 14, 2020, 12:23 a.m.
Message ID <differential-rev-PHID-DREV-yreyqzkwpmbtkp5g6kp2-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/45778/
State Superseded
Headers show

Comments

phabricator - March 14, 2020, 12:23 a.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The caller always provides values for these arguments.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8291

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -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 = []