diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -299,6 +299,10 @@ self.gettransaction = transactiongetter self.reply = None self.captureoutput = captureoutput + self.hookargs = {} + + def addhookargs(self, hookargs): + self.hookargs.update(hookargs) class TransactionUnavailable(RuntimeError): pass