mercurial/bundle2.py
changeset 33664 f3407d56a6e8
parent 33541 b47fef6d2365
child 33665 5fc4ddfbe626
--- a/mercurial/bundle2.py	Thu Jul 20 01:30:41 2017 -0700
+++ b/mercurial/bundle2.py	Wed Aug 02 03:08:42 2017 +0530
@@ -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