view tests/test-remove @ 2184:2477a7183a6f

Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'. Add an explicit description of 'hg commit --addremove'.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 03 May 2006 10:53:51 +0200
parents 82385773df6c
children b2f37c7026ca
line wrap: on
line source

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "1000000 0"
hg remove
rm foo
hg remove foo
hg revert
rm foo
hg remove --after
hg commit -m 2 -d "1000000 0"
hg export 0
hg export 1
hg log -p -r 0
hg log -p -r 1

cd ..
hg clone a b