sapling/tests/test-clone
mpm@selenic.com 3a08ca5eaa Update tests to use commit -m and default -u
manifest hash: 6e4385453843031a712005a320d6000595b40d05
2005-07-21 15:05:17 -05:00

29 lines
275 B
Bash
Executable File

#!/bin/bash
set -x
mkdir a
cd a
hg init
echo a > a
hg add a
hg commit -m test -d '0 0'
# Default operation
hg clone . ../b
cd ../b
cat a
hg verify
# No update
hg clone -U . ../c
cd ../c
cat a
hg verify
# Default destination
mkdir ../d
cd ../d
hg clone ../a
cd a
hg cat a