diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2494,7 +2494,7 @@ def debugsetparents(ui, repo, rev1, rev2 finally: wlock.release() -@command('debugstate', +@command('debugdirstate|debugstate', [('', 'nodates', None, _('do not display the saved mtime')), ('', 'datesort', None, _('sort by saved mtime'))], _('[OPTION]...')) diff --git a/tests/test-completion.t b/tests/test-completion.t --- a/tests/test-completion.t +++ b/tests/test-completion.t @@ -77,6 +77,7 @@ Show debug commands if there are no othe debugdag debugdata debugdate + debugdirstate debugdiscovery debugfileset debugfsinfo @@ -96,7 +97,6 @@ Show debug commands if there are no othe debugrevlog debugrevspec debugsetparents - debugstate debugsub debugsuccessorssets debugwalk @@ -232,6 +232,7 @@ Show all commands + options debugdag: tags, branches, dots, spaces debugdata: changelog, manifest debugdate: extended + debugdirstate: nodates, datesort debugdiscovery: old, nonheads, ssh, remotecmd, insecure debugfileset: rev debugfsinfo: @@ -251,7 +252,6 @@ Show all commands + options debugrevlog: changelog, manifest, dump debugrevspec: debugsetparents: - debugstate: nodates, datesort debugsub: rev debugsuccessorssets: debugwalk: include, exclude