equal
deleted
inserted
replaced
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 |