tests/test-rebuildstate
author Patrick Mezard <pmezard@gmail.com>
Mon, 06 Oct 2008 13:51:36 +0200
changeset 7064 582dac23ebac
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
Merge with crew-stable

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