tests/test-remove
author Vadim Gelfer <vadim.gelfer@gmail.com>
Tue, 14 Feb 2006 15:47:25 -0800
changeset 1720 55017891051b
parent 1570 6a104941d56a
child 1933 7544700fd931
permissions -rwxr-xr-x
add pretag and tag hooks. pretag hook lets hook decide how tags can be named. tag hook is notifier.

#!/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"
hg export 0
hg export 1
hg log -p -r 0
hg log -p -r 1

cd ..
hg clone a b