##// END OF EJS Templates
localrepo: make report level in repo.transaction configurable...
David Soria Parra -
r19853:eddc2a2d default
parent child Browse files
Show More
@@ -813,7 +813,7 b' class localrepository(object):'
813 813 def wwritedata(self, filename, data):
814 814 return self._filter(self._decodefilterpats, filename, data)
815 815
816 def transaction(self, desc):
816 def transaction(self, desc, report=None):
817 817 tr = self._transref and self._transref() or None
818 818 if tr and tr.running():
819 819 return tr.nest()
@@ -825,8 +825,8 b' class localrepository(object):'
825 825
826 826 self._writejournal(desc)
827 827 renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()]
828
829 tr = transaction.transaction(self.ui.warn, self.sopener,
828 rp = report and report or self.ui.warn
829 tr = transaction.transaction(rp, self.sopener,
830 830 self.sjoin("journal"),
831 831 aftertrans(renames),
832 832 self.store.createmode)
General Comments 0
You need to be logged in to leave comments. Login now