--- a/hgext3rd/evolve/evolvecmd.py Wed Oct 31 14:01:58 2018 +0530
+++ b/hgext3rd/evolve/evolvecmd.py Wed Oct 31 14:06:17 2018 +0530
@@ -1582,14 +1582,14 @@
# to confirm that if atop msg should be suppressed to remove redundancy
lastsolved = None
- # check if revs to be evolved are in active topic to make sure that we
- # can use stack aliases s# in evolve msgs.
activetopic = getattr(repo, 'currenttopic', '')
for rev in revs:
curctx = repo[rev]
revtopic = getattr(curctx, 'topic', lambda: '')()
topicidx = getattr(curctx, 'topicidx', lambda: None)()
stacktmplt = False
+ # check if revision being evolved is in active topic to make sure
+ # that we can use stack aliases s# in evolve msgs.
if activetopic and (activetopic == revtopic) and topicidx is not None:
stacktmplt = True
progresscb()