# HG changeset patch # User Pierre-Yves David # Date 1506463222 -7200 # Node ID d94a4e150633f58eaf66af7fd8d07aae34e4aae1 # Parent 6b08a78367887c11e462010e28067b8e505c920e topic: fix topic message for mercurial 4.2 and below diff -r 6b08a7836788 -r d94a4e150633 hgext3rd/topic/__init__.py --- 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