hgext3rd/topic/__init__.py
changeset 2999 d94a4e150633
parent 2995 dbc896a7a1c3
child 3009 548506eb68f4
equal deleted inserted replaced
2998:6b08a7836788 2999:d94a4e150633
   313             return peer
   313             return peer
   314 
   314 
   315         def transaction(self, desc, *a, **k):
   315         def transaction(self, desc, *a, **k):
   316             ctr = self.currenttransaction()
   316             ctr = self.currenttransaction()
   317             tr = super(topicrepo, self).transaction(desc, *a, **k)
   317             tr = super(topicrepo, self).transaction(desc, *a, **k)
   318             if desc is 'strip' or ctr is not None:
   318             if desc in ('strip', 'repair') or ctr is not None:
   319                 return tr
   319                 return tr
   320 
   320 
   321             # real transaction start
   321             # real transaction start
   322             ct = self.currenttopic
   322             ct = self.currenttopic
   323             if not ct:
   323             if not ct: