tests/test-rebuildstate
author Matt Mackall <mpm@selenic.com>
Fri, 21 Mar 2008 15:57:22 -0500
changeset 6344 ffeb926d57ce
parent 6296 a9e6b8875805
permissions -rwxr-xr-x
tests: make test-rebuildstate repeatable

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