##// END OF EJS Templates
transaction: support multiple, separate transactions...
Henrik Stuart -
r8072:ecf77954 default
parent child Browse files
Show More
@@ -593,8 +593,9 b' class localrepository(repo.repository):'
593 593 return self._filter("decode", filename, data)
594 594
595 595 def transaction(self):
596 if self._transref and self._transref():
597 return self._transref().nest()
596 tr = self._transref and self._transref() or None
597 if tr and tr.running():
598 return tr.nest()
598 599
599 600 # abort here if the journal already exists
600 601 if os.path.exists(self.sjoin("journal")):
General Comments 0
You need to be logged in to leave comments. Login now