tests/test-rebuildstate
author John Mulligan <phlogistonjohn@yahoo.com>
Thu, 21 Feb 2008 08:24:58 -0500
changeset 6171 73b1de288801
parent 5858 e7ed5d07cc4c
child 6296 a9e6b8875805
permissions -rwxr-xr-x
Add --all option to bundle command

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

echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A

hg debugrebuildstate
echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A