tests/test-addremove
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 19 Mar 2006 14:53:58 +0100
changeset 1976 df8416346bb7
parent 1933 7544700fd931
child 2958 ff3ea21a981a
permissions -rwxr-xr-x
Enable path validation for copy, rename, debugwalk and other canonpath users. This fixed the last bit of issue134. Added some tests to test-rename and test-walk.

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