diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -299,7 +299,7 @@ * a way to construct a bundle response when applicable. """ - def __init__(self, repo, transactiongetter, captureoutput=True): + def __init__(self, repo, transactiongetter, captureoutput=True, source=''): self.repo = repo self.ui = repo.ui self.records = unbundlerecords() @@ -309,6 +309,7 @@ self._gettransaction = transactiongetter # carries value that can modify part behavior self.modes = {} + self.source = source def gettransaction(self): transaction = self._gettransaction()