tests/test-remove
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 15 May 2006 11:16:32 -0700
changeset 2293 3dc6f2501dbc
parent 2180 82385773df6c
child 2309 b2f37c7026ca
permissions -rwxr-xr-x
add --config global option. allows to set hgrc option on command line. syntax: --config section.name=value also add new test-globalopts to test all global options in one place.

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