changeset 6145:1a20edff5cbd

evolve: add a missing compatibility comment for cmdutil.STATES
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 22 Feb 2022 19:42:55 +0300
parents de82085e7f03
children 74665d83fb3b
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Tue Feb 22 19:09:49 2022 +0300
+++ b/hgext3rd/evolve/__init__.py	Tue Feb 22 19:42:55 2022 +0300
@@ -1193,6 +1193,7 @@
         cmdutil.afterresolvedstates.append(pickresolved)
         cmdutil.afterresolvedstates.append(fixupresolved)
 
+    # hg <= 5.0 (12243f15d53e)
     if util.safehasattr(cmdutil, 'STATES'):
         cmdutil.STATES = (
             (b'evolve', cmdutil.fileexistspredicate(b'evolvestate'), _evolvemessage),