diff --git a/mercurial/exchange.py b/mercurial/exchange.py index c9bceafc61be52b224ad9e79323c46dce62c6176_bWVyY3VyaWFsL2V4Y2hhbmdlLnB5..b79b405583af1ecd3eb9d1f08a739d287b35253c_bWVyY3VyaWFsL2V4Y2hhbmdlLnB5 100644 --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -382,10 +382,10 @@ afterward. """ - def __init__(self, repo, remote, heads=None): + def __init__(self, repo, remote, heads=None, force=False): # repo we pull from self.repo = repo # repo we pull to self.remote = remote # revision we try to pull (None is "all") self.heads = heads @@ -386,9 +386,11 @@ # repo we pull from self.repo = repo # repo we pull to self.remote = remote # revision we try to pull (None is "all") self.heads = heads + # do we force pull? + self.force = force def pull(repo, remote, heads=None, force=False): pullop = pulloperation(repo, remote, heads)