##// END OF EJS Templates
bundle2: add 'source' atrribute to bundleoperation class...
Pulkit Goyal -
r37252:7e906d8a default
parent child Browse files
Show More
@@ -299,7 +299,7 b' class bundleoperation(object):'
299 * a way to construct a bundle response when applicable.
299 * a way to construct a bundle response when applicable.
300 """
300 """
301
301
302 def __init__(self, repo, transactiongetter, captureoutput=True):
302 def __init__(self, repo, transactiongetter, captureoutput=True, source=''):
303 self.repo = repo
303 self.repo = repo
304 self.ui = repo.ui
304 self.ui = repo.ui
305 self.records = unbundlerecords()
305 self.records = unbundlerecords()
@@ -309,6 +309,7 b' class bundleoperation(object):'
309 self._gettransaction = transactiongetter
309 self._gettransaction = transactiongetter
310 # carries value that can modify part behavior
310 # carries value that can modify part behavior
311 self.modes = {}
311 self.modes = {}
312 self.source = source
312
313
313 def gettransaction(self):
314 def gettransaction(self):
314 transaction = self._gettransaction()
315 transaction = self._gettransaction()
General Comments 0
You need to be logged in to leave comments. Login now