mercurial/localrepo.py
changeset 35708 03e921942163
parent 35492 3ad582b2895c
child 35725 2a7e777c9eed
equal deleted inserted replaced
35707:54074a82e050 35708:03e921942163
  1132                 or self.ui.configbool('devel', 'check-locks')):
  1132                 or self.ui.configbool('devel', 'check-locks')):
  1133             if self._currentlock(self._lockref) is None:
  1133             if self._currentlock(self._lockref) is None:
  1134                 raise error.ProgrammingError('transaction requires locking')
  1134                 raise error.ProgrammingError('transaction requires locking')
  1135         tr = self.currenttransaction()
  1135         tr = self.currenttransaction()
  1136         if tr is not None:
  1136         if tr is not None:
  1137             scmutil.registersummarycallback(self, tr, desc)
       
  1138             return tr.nest()
  1137             return tr.nest()
  1139 
  1138 
  1140         # abort here if the journal already exists
  1139         # abort here if the journal already exists
  1141         if self.svfs.exists("journal"):
  1140         if self.svfs.exists("journal"):
  1142             raise error.RepoError(
  1141             raise error.RepoError(