author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Wed, 27 Sep 2017 00:00:22 +0200 | |
changeset 2999 | d94a4e150633 |
parent 2998 | 6b08a7836788 |
child 3000 | bd7e8be29542 |
child 3013 | 945a0989e41b |
--- a/hgext3rd/topic/__init__.py Tue Sep 26 19:05:04 2017 +0530 +++ b/hgext3rd/topic/__init__.py Wed Sep 27 00:00:22 2017 +0200 @@ -315,7 +315,7 @@ def transaction(self, desc, *a, **k): ctr = self.currenttransaction() tr = super(topicrepo, self).transaction(desc, *a, **k) - if desc is 'strip' or ctr is not None: + if desc in ('strip', 'repair') or ctr is not None: return tr # real transaction start