mercurial/bundle2.py
changeset 20997 d7df4b7378ae
parent 20996 ed3c5e18a047
child 20998 93a3c5b58635
--- a/mercurial/bundle2.py	Fri Apr 11 08:24:59 2014 -0700
+++ b/mercurial/bundle2.py	Fri Apr 04 14:24:11 2014 -0700
@@ -254,6 +254,7 @@
         self.ui = repo.ui
         self.records = unbundlerecords()
         self.gettransaction = transactiongetter
+        self.reply = None
 
 class TransactionUnavailable(RuntimeError):
     pass
@@ -278,6 +279,9 @@
     """
     op = bundleoperation(repo, transactiongetter)
     # todo:
+    # - only create reply bundle if requested.
+    op.reply = bundle20(op.ui)
+    # todo:
     # - replace this is a init function soon.
     # - exception catching
     unbundler.params