hgext3rd/topic/__init__.py
changeset 2989 53246d237373
parent 2986 4746b92cc1f8
child 2990 c2102598adf5
equal deleted inserted replaced
2986:4746b92cc1f8 2989:53246d237373
   310                         usetopic = not self._repo.publishing()
   310                         usetopic = not self._repo.publishing()
   311                         return self._repo.branchmap(topic=usetopic)
   311                         return self._repo.branchmap(topic=usetopic)
   312                 peer.__class__ = topicpeer
   312                 peer.__class__ = topicpeer
   313             return peer
   313             return peer
   314 
   314 
   315         def transaction(self, *a, **k):
   315         def transaction(self, desc, *a, **k):
   316             tr = super(topicrepo, self).transaction(*a, **k)
   316             tr = super(topicrepo, self).transaction(desc, *a, **k)
       
   317             if desc == 'strip':
       
   318                 return tr
   317 
   319 
   318             reporef = weakref.ref(self)
   320             reporef = weakref.ref(self)
   319 
   321 
   320             def currenttopicempty(tr):
   322             def currenttopicempty(tr):
   321                 # check active topic emptyness
   323                 # check active topic emptyness