tests/test-rebuildstate
author Patrick Mezard <pmezard@gmail.com>
Sun, 25 Apr 2010 22:32:27 +0200
branchstable
changeset 10985 7fab6ae3f688
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
convert/git: rename gitcmd() into gitopen() for readability

#!/bin/sh
# basic test for hg debugrebuildstate

hg init repo
cd repo

touch foo bar
hg ci -Am 'add foo bar'

touch baz
hg add baz
hg rm bar

hg debugrebuildstate
echo '% state dump after'
hg debugstate --nodates | sort
echo '% status'
hg st -A