tests/test-rebuildstate
author Martin Geisler <mg@daimi.au.dk>
Sat, 04 Apr 2009 23:15:37 +0200
changeset 7986 c756e695012a
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
children: 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