diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-08-22 14:49:51 +0100 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-08-22 14:49:51 +0100 |
commit | a498da43c7fdb9f24b73680c02a4a3588cc62d9a (patch) | |
tree | daf8119dae1749b5165b68033a1b23a7375ce9ce /tests/test-rebuildstate.t | |
download | mercurial-tarball-a498da43c7fdb9f24b73680c02a4a3588cc62d9a.tar.gz |
Tarball conversion
Diffstat (limited to 'tests/test-rebuildstate.t')
-rw-r--r-- | tests/test-rebuildstate.t | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t new file mode 100644 index 0000000..954d343 --- /dev/null +++ b/tests/test-rebuildstate.t @@ -0,0 +1,30 @@ +basic test for hg debugrebuildstate + + $ hg init repo + $ cd repo + + $ touch foo bar + $ hg ci -Am 'add foo bar' + adding bar + adding foo + + $ touch baz + $ hg add baz + $ hg rm bar + + $ hg debugrebuildstate + +state dump after + + $ hg debugstate --nodates | sort + n 644 -1 bar + n 644 -1 foo + +status + + $ hg st -A + ! bar + ? baz + C foo + + $ cd .. |