Mercurial > evolve
comparison tests/test-stabilize-result.t @ 3738:ed3f69fb67bf
evolve: fix the conflicts error message during content-divergence resolution
Before last patch, we didn't had an automated way to continue an interrupted
content-divergence resolution and we used to show a very long error message on
how to continue manually.
This patch replaces that long error message with nice small message which tells
how to continue and how to abort. We still show `hg update -C .` to abort as we
need to test and make `--abort` work in case of content-divergence.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 29 Apr 2018 19:04:18 +0530 |
parents | 5b0bd82ea914 |
children | 0bfc4fe3baf8 |
comparison
equal
deleted
inserted
replaced
3737:5b0bd82ea914 | 3738:ed3f69fb67bf |
---|---|
391 with: [15] More addition | 391 with: [15] More addition |
392 base: [12] More addition | 392 base: [12] More addition |
393 merging a | 393 merging a |
394 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') | 394 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') |
395 0 files updated, 0 files merged, 0 files removed, 1 files unresolved | 395 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
396 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abort | 396 abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort |
397 abort: merge conflict between several amendments (this is not automated yet) | |
398 (/!\ You can try: | |
399 /!\ * manual merge + resolve => new cset X | |
400 /!\ * hg up to the parent of the amended changeset (which are named W and Z) | |
401 /!\ * hg revert --all -r X | |
402 /!\ * hg ci -m "same message as the amended changeset" => new cset Y | |
403 /!\ * hg prune -n Y W Z | |
404 ) | |
405 [255] | 397 [255] |
406 | 398 |
407 $ cat > a <<EOF | 399 $ cat > a <<EOF |
408 > jungle | 400 > jungle |
409 > a | 401 > a |