##// END OF EJS Templates
run-tests.py: make tests use same python interpreter as test harness....
run-tests.py: make tests use same python interpreter as test harness. this is wanted because some tests run python interpreter directly. must use same python interpreter in tests as in main harness or problems will happen because of e.g. different python abi if run-tests.py run with python 2.5 but system python is 2.4. fix is to see if system python is used and is named python. if no, put symlink called python at front of shell search path.

File last commit:

r1926:ba198d17 default
r2570:2264b2b0 default
Show More
test-clone
27 lines | 302 B | text/plain | TextLexer
Thomas Arendsen Hein
Use sh instead of bash in tests.
r834 #!/bin/sh
mpm@selenic.com
[PATCH] Tests for clone command...
r550
mkdir a
cd a
hg init
echo a > a
hg add a
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m test -d '0 0'
mpm@selenic.com
[PATCH] Tests for clone command...
r550
# Default operation
hg clone . ../b
cd ../b
cat a
hg verify
# No update
hg clone -U . ../c
cd ../c
Peter van Dijk
changes by John Levon to standardize some erroroutput
r1926 cat a 2>/dev/null || echo "a not present"
mpm@selenic.com
[PATCH] Tests for clone command...
r550 hg verify
# Default destination
mkdir ../d
cd ../d
hg clone ../a
cd a
hg cat a