tests/test-rebuildstate
author Simon Heimberg <simohe@besonet.ch>
Sun, 08 Feb 2009 08:44:33 +0100
changeset 7765 da9acc68b1dd
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
resolve: accepts walkopts (-I and -X)

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