test-conflict.out
30 lines
| 653 B
| text/plain
|
TextLexer
/ tests / test-conflict.out
mpm@selenic.com
|
r346 | + hg init | ||
+ echo nothing | ||||
+ hg add a | ||||
+ hg commit -t ancestor -u test -d '0 0' | ||||
+ echo something | ||||
+ hg commit -t branch1 -u test -d '0 0' | ||||
+ hg co 0 | ||||
+ echo 'something else' | ||||
+ hg commit -t branch2 -u test -d '0 0' | ||||
+ export HGMERGE=merge | ||||
+ HGMERGE=merge | ||||
+ hg -d up -m 1 | ||||
merge: warning: conflicts during merge | ||||
resolving manifests | ||||
mpm@selenic.com
|
r374 | ancestor 1c6e5a129854 local 35fedfab3325 remote a58017859bdc | ||
mpm@selenic.com
|
r346 | a versions differ, resolve | ||
working dir created .out, keeping | ||||
merging a | ||||
resolving a | ||||
mpm@selenic.com
|
r374 | file a: other d7250518cb1b ancestor 68ba9db7a9e4 | ||
mpm@selenic.com
|
r346 | merging a failed! | ||
+ hg id | ||||
mpm@selenic.com
|
r374 | 32e80765d7fe+75234512624c+ tip | ||
mpm@selenic.com
|
r392 | + grep -Ev '>>>|<<<' a | ||
mpm@selenic.com
|
r346 | something else | ||
======= | ||||
something | ||||
+ hg status | ||||
C a | ||||
? .out | ||||