# HG changeset patch # User Anton Shestakov # Date 1645548175 -10800 # Node ID 1a20edff5cbd71d83f9dab830802ee7bebc594ee # Parent de82085e7f03d1d7d6eeba17bd855f40f3ad172e evolve: add a missing compatibility comment for cmdutil.STATES diff -r de82085e7f03 -r 1a20edff5cbd hgext3rd/evolve/__init__.py --- 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),