tests/test-rebuildstate
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 06 Nov 2009 22:46:46 +0100
changeset 9731 0e080d519d1b
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
hgweb: treat rev as raw-rev if user agent is hg

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