Patchwork D11730: pull: make the new argument a keyword argument

login
register
mail settings
Submitter phabricator
Date Oct. 29, 2021, 1:34 p.m.
Message ID <differential-rev-PHID-DREV-5tk5y4kwglzxp3zwt4gl-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50055/
State Superseded
Headers show

Comments

phabricator - Oct. 29, 2021, 1:34 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  As per feedback from Dan Villiom Podlaski Christiansen
  in https://phab.mercurial-scm.org/D11674#179866

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/exchange.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -1378,7 +1378,6 @@ 
         self,
         repo,
         remote,
-        path,
         heads=None,
         force=False,
         bookmarks=(),
@@ -1387,6 +1386,7 @@ 
         includepats=None,
         excludepats=None,
         depth=None,
+        path=None,
     ):
         # repo we pull into
         self.repo = repo