##// END OF EJS Templates
Added tests for bug with three-way-merging of old tip, tip and cwd.
Added tests for bug with three-way-merging of old tip, tip and cwd.

File last commit:

r749:7e4843b7 default
r792:49ec802b default
Show More
test-clone
28 lines | 275 B | text/plain | TextLexer
#!/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