changeset 48292:aad84024660f

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 29 Oct 2021 14:40:46 +0200
parents 500260410bb8
children 7a4d187479b6
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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