tests/test-addremove
author Vadim Gelfer <vadim.gelfer@gmail.com>
Fri, 31 Mar 2006 17:00:09 -0800
changeset 2061 5987c1eac2ce
parent 1933 7544700fd931
child 2958 ff3ea21a981a
permissions -rwxr-xr-x
support nested repositories. mercurial will not recurse into a subdirectory that contains a .hg directory. it is treated as a separate repository.

#!/bin/sh

hg init rep
cd rep
mkdir dir
touch foo dir/bar
hg -v addremove
hg -v commit -m "add 1" -d "1000000 0"
cd dir/
touch ../foo_2 bar_2
hg -v addremove
hg -v commit -m "add 2" -d "1000000 0"