tests/test-remove
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 02 Nov 2005 16:08:48 -0800
changeset 1488 08c7851969cc
parent 936 b62d1e738fa9
child 1570 6a104941d56a
permissions -rwxr-xr-x
only files in normal state should be marked as deleted fix a traceback when you removed an added file

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "0 0"
rm foo
hg remove foo
hg commit -m 2 -d "0 0"

cd ..
hg clone a b