changeset 4249:0d9697367fff

evolve: modify and move the comment to appropriate position
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Wed, 31 Oct 2018 14:06:17 +0530
parents 51b69f3dfc0b
children 781d058d14f9
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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()