tests/test-rebuildstate
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 15 Mar 2010 19:55:52 +0100
branchstable
changeset 10701 35893dcfd40c
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
cvsps: fix traceback involving 'synthetic' https://bugzilla.redhat.com/show_bug.cgi?id=573666 Reported by Sjoerd Mullender

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