tests/test-remove
author Bryan O'Sullivan <bos@serpentine.com>
Thu, 18 Aug 2005 14:58:14 -0800
changeset 943 e8e5db72ed51
parent 936 b62d1e738fa9
child 1570 6a104941d56a
permissions -rwxr-xr-x
Add --cwd global option, to change directory before doing anything. Useful for interacting with a program presenting a UI, such as Emacs.

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