pull: make the new argument a keyword argument
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 29 Oct 2021 14:40:46 +0200
changeset 48292 aad84024660f
parent 48291 500260410bb8
child 48293 7a4d187479b6
pull: make the new argument a keyword argument As per feedback from Dan Villiom Podlaski Christiansen in https://phab.mercurial-scm.org/D11674#179866 Differential Revision: https://phab.mercurial-scm.org/D11730
mercurial/exchange.py
--- a/mercurial/exchange.py	Thu Oct 28 17:44:58 2021 +0200
+++ b/mercurial/exchange.py	Fri Oct 29 14:40:46 2021 +0200
@@ -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