# HG changeset patch # User Sietse Brouwer # Date 1533313576 -7200 # Fri Aug 03 18:26:16 2018 +0200 # Node ID afc35fe1e3cc81bf807e5e362bec011ca868f619 # Parent d6b555dd6c37d50df97f27a55f9ae1b83106ea9c fix: Mercurial's cmdutil is moved to registrar diff --git a/guestrepo/__init__.py b/guestrepo/__init__.py --- a/guestrepo/__init__.py +++ b/guestrepo/__init__.py @@ -89,7 +89,7 @@ from guestrepo import pull, push, grupdate, freeze, summary, state, grout, grin from guestrepo import colortable -from mercurial import cmdutil +from mercurial import registrar import convert import lockedui @@ -122,7 +122,7 @@ # See the readme for a description of each command # format: {"command-name": (function, options-list, help-string)} cmdtable = {} -command = cmdutil.command(cmdtable) +command = registrar.command(cmdtable) command("grpull", localopt + threadopt