tests/test-rebuildstate
author Martin Geisler <mg@daimi.au.dk>
Sat, 04 Apr 2009 23:18:03 +0200
changeset 7994 3c22fdc741d8
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
mq: word-wrap help texts at 70 characters

#!/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