mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
localrepo: pass arbitrary kwargs from repo.pull
to exchange.pull
We'll add bookmark-related arguments to `repo.pull` so we need to widen the signature of `repo.pull`. We should probably kill `repo.pull` now that `repo.push` is dead but this is outside the scope of this series.
This commit is contained in:
parent
c7f20ea1f1
commit
f7c8a82ddd
@ -1574,8 +1574,8 @@ class localrepository(object):
|
||||
|
||||
return r
|
||||
|
||||
def pull(self, remote, heads=None, force=False):
|
||||
return exchange.pull (self, remote, heads, force)
|
||||
def pull(self, remote, heads=None, force=False, **kwargs):
|
||||
return exchange.pull(self, remote, heads, force, **kwargs)
|
||||
|
||||
def checkpush(self, pushop):
|
||||
"""Extensions can override this function if additional checks have
|
||||
|
Loading…
Reference in New Issue
Block a user