tests/test-revert
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 27 Oct 2005 13:40:56 -0700
changeset 1473 7d66ce9895fa
parent 1449 30146be3437c
child 1487 2bc6cd62a29c
permissions -rwxr-xr-x
make readconfig take a filename instead of a file pointer as argument catch parse error while reading a config file add a testcase for parse error

#!/bin/sh

hg init
echo 123 > a
echo 123 > c
hg add a c
hg commit -m "first" -d "0 0" a c
echo 123 > b
hg status
echo 12 > c
hg status
hg add b
hg status
hg rm a
hg status
hg revert a
hg status
hg revert b
hg status
hg revert c
hg status
ls

true