mercurial/bundle2.py
changeset 26792 a84e0cacb2dd
parent 26790 28a6c2d72097
child 26793 f37de5d44aea
--- a/mercurial/bundle2.py	Tue Oct 20 15:47:20 2015 +0200
+++ b/mercurial/bundle2.py	Tue Oct 20 15:48:24 2015 +0200
@@ -304,6 +304,7 @@
 
 def applybundle(repo, unbundler, tr, op=None):
     # transform me into unbundler.apply() as soon as the freeze is lifted
+    tr.hookargs['bundle2'] = '1'
     return processbundle(repo, unbundler, lambda: tr, op=op)
 
 def processbundle(repo, unbundler, transactiongetter=None, op=None):