changeset 3969 | e854bf1e703f |
parent 2840 | dfad30be866c |
child 4814 | 48b30ff742cb |
--- a/hgext3rd/evolve/hack/drophack.py Sat Aug 18 00:53:12 2018 +0200 +++ b/hgext3rd/evolve/hack/drophack.py Sat Aug 18 00:59:44 2018 +0200 @@ -21,12 +21,7 @@ cmdtable = {} -if util.safehasattr(registrar, 'command'): - command = registrar.command(cmdtable) -else: # compat with hg < 4.3 - from mercurial import cmdutil - command = cmdutil.command(cmdtable) - +command = registrar.command(cmdtable) @contextlib.contextmanager def timed(ui, caption):