debugstate: rename to debugdirstate
There is a lot of state, but this command is for debugging the dirstate.
--- a/mercurial/commands.py Mon Apr 15 01:39:02 2013 +0200
+++ b/mercurial/commands.py Mon Apr 15 01:41:27 2013 +0200
@@ -2494,7 +2494,7 @@
finally:
wlock.release()
-@command('debugstate',
+@command('debugdirstate|debugstate',
[('', 'nodates', None, _('do not display the saved mtime')),
('', 'datesort', None, _('sort by saved mtime'))],
_('[OPTION]...'))
--- a/tests/test-completion.t Mon Apr 15 01:39:02 2013 +0200
+++ b/tests/test-completion.t Mon Apr 15 01:41:27 2013 +0200
@@ -77,6 +77,7 @@
debugdag
debugdata
debugdate
+ debugdirstate
debugdiscovery
debugfileset
debugfsinfo
@@ -96,7 +97,6 @@
debugrevlog
debugrevspec
debugsetparents
- debugstate
debugsub
debugsuccessorssets
debugwalk
@@ -232,6 +232,7 @@
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 @@
debugrevlog: changelog, manifest, dump
debugrevspec:
debugsetparents:
- debugstate: nodates, datesort
debugsub: rev
debugsuccessorssets:
debugwalk: include, exclude