test-conflict
16 lines
| 271 B
| text/plain
|
TextLexer
/ tests / test-conflict
Thomas Arendsen Hein
|
r544 | #!/bin/sh | ||
mpm@selenic.com
|
r346 | |||
hg init | ||||
echo "nothing" > a | ||||
hg add a | ||||
mpm@selenic.com
|
r749 | hg commit -m ancestor -d "0 0" | ||
mpm@selenic.com
|
r346 | echo "something" > a | ||
mpm@selenic.com
|
r749 | hg commit -m branch1 -d "0 0" | ||
mpm@selenic.com
|
r346 | hg co 0 | ||
echo "something else" > a | ||||
mpm@selenic.com
|
r749 | hg commit -m branch2 -d "0 0" | ||
Thomas Arendsen Hein
|
r800 | HGMERGE=merge; export HGMERGE | ||
mpm@selenic.com
|
r591 | hg up -m 1 | ||
mpm@selenic.com
|
r346 | hg id | ||
Peter van Dijk
|
r1925 | egrep -v ">>>|<<<" a | ||
mpm@selenic.com
|
r346 | hg status | ||