[PATCH 10 of 11] debugstate: rename to debugdirstate

Mads Kiilerich mads at kiilerich.com
Sun Apr 14 20:14:25 CDT 2013


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1365982887 -7200
# Node ID 505e5eed2ff561997ea230658877f2181b5a9b1d
# Parent  f651e07fc203b86af84d82416a09431c763c84a6
debugstate: rename to debugdirstate

There is a lot of state, but this command is for debugging the dirstate.

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()
 
- at command('debugstate',
+ at 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


More information about the Mercurial-devel mailing list