# HG changeset patch # User Pierre-Yves David # Date 2021-10-29 12:40:46 # Node ID aad84024660f000a38ac2f2e35088d4d99ca42e9 # Parent 500260410bb83710b479251efbdc4f904f0a7e77 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 diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -1378,7 +1378,6 @@ class pulloperation(object): self, repo, remote, - path, heads=None, force=False, bookmarks=(), @@ -1387,6 +1386,7 @@ class pulloperation(object): includepats=None, excludepats=None, depth=None, + path=None, ): # repo we pull into self.repo = repo