##// END OF EJS Templates
Fix up copy command to behave more like regular "cp"....
Fix up copy command to behave more like regular "cp". In addition to recording changes, copy now updates the working directory.

File last commit:

r814:0902ffec merge default
r1249:a5355fa5 default
Show More
test-conflict
16 lines | 271 B | text/plain | TextLexer
#!/bin/sh
hg init
echo "nothing" > a
hg add a
hg commit -m ancestor -d "0 0"
echo "something" > a
hg commit -m branch1 -d "0 0"
hg co 0
echo "something else" > a
hg commit -m branch2 -d "0 0"
HGMERGE=merge; export HGMERGE
hg up -m 1
hg id
grep -Ev ">>>|<<<" a
hg status