##// END OF EJS Templates
bundle2: introduce an "applybundle" function...
Pierre-Yves David -
r26790:28a6c2d7 default
parent child Browse files
Show More
@@ -302,6 +302,10 b' def _notransaction():'
302 to be created"""
302 to be created"""
303 raise TransactionUnavailable()
303 raise TransactionUnavailable()
304
304
305 def applybundle(repo, unbundler, tr, op=None):
306 # transform me into unbundler.apply() as soon as the freeze is lifted
307 return processbundle(repo, unbundler, lambda: tr, op=op)
308
305 def processbundle(repo, unbundler, transactiongetter=None, op=None):
309 def processbundle(repo, unbundler, transactiongetter=None, op=None):
306 """This function process a bundle, apply effect to/from a repo
310 """This function process a bundle, apply effect to/from a repo
307
311
General Comments 0
You need to be logged in to leave comments. Login now