view tests/test-remove @ 943:e8e5db72ed51

Add --cwd global option, to change directory before doing anything. Useful for interacting with a program presenting a UI, such as Emacs.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 18 Aug 2005 14:58:14 -0800
parents b62d1e738fa9
children 6a104941d56a
line wrap: on
line source

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