--- a/hgext3rd/evolve/legacy.py Sat Aug 18 00:59:44 2018 +0200
+++ b/hgext3rd/evolve/legacy.py Sat Aug 18 01:00:08 2018 +0200
@@ -36,11 +36,7 @@
# compat with hg < 4.6
from mercurial.util import makedate
-if util.safehasattr(registrar, 'command'):
- commandfunc = registrar.command
-else: # compat with hg < 4.3
- from mercurial import cmdutil
- commandfunc = cmdutil.command
+commandfunc = registrar.command
#####################################################################
### Older format management ###