##// END OF EJS Templates
bundle2: make source a mandatory argument for bundle2.applybundle() (API)...
Pulkit Goyal -
r37255:684a6a26 default
parent child Browse files
Show More
@@ -342,7 +342,7 b' def _notransaction():'
342 to be created"""
342 to be created"""
343 raise TransactionUnavailable()
343 raise TransactionUnavailable()
344
344
345 def applybundle(repo, unbundler, tr, source=None, url=None, **kwargs):
345 def applybundle(repo, unbundler, tr, source, url=None, **kwargs):
346 # transform me into unbundler.apply() as soon as the freeze is lifted
346 # transform me into unbundler.apply() as soon as the freeze is lifted
347 if isinstance(unbundler, unbundle20):
347 if isinstance(unbundler, unbundle20):
348 tr.hookargs['bundle2'] = '1'
348 tr.hookargs['bundle2'] = '1'
General Comments 0
You need to be logged in to leave comments. Login now