view tests/test-rebuildstate @ 10081:a5f3f9b1c42a

test-rollback: Ignore hook exit code Failing hooks returned 255 on Solaris
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Dec 2009 12:10:21 +0100
parents ffeb926d57ce
children
line wrap: on
line source

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