hgext3rd/evolve/evolvecmd.py
changeset 4249 0d9697367fff
parent 4243 e49af4917a6b
child 4257 4a8f59b69d37
--- 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()