@@ 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 @@ jsonopt = [('', 'json', False,
# 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