--- a/mercurial/debugcommands.py Sun May 14 16:42:16 2017 +0900
+++ b/mercurial/debugcommands.py Thu May 04 17:13:12 2017 +0900
@@ -32,7 +32,6 @@
changegroup,
cmdutil,
color,
- commands,
context,
dagparser,
dagutil,
@@ -71,9 +70,7 @@
release = lockmod.release
-# We reuse the command table from commands because it is easier than
-# teaching dispatch about multiple tables.
-command = registrar.command(commands.table)
+command = registrar.command()
@command('debugancestor', [], _('[INDEX] REV1 REV2'), optionalrepo=True)
def debugancestor(ui, repo, *args):