# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1528756279 -19800 # Node ID b293cce4ff55a33fff5364ff5cf7814c07779b80 # Parent 82b79a8dafd9aa97d3717debfddd7b17a14f273b evolve: point to `hg help evolve.interrupted` while resolving content-div Recent test additions shows that --abort and --stop works well while resolving content-divergence and we should advertise them. This patch does so by pointing to evolve.interrupted help topic. diff -r 82b79a8dafd9 -r b293cce4ff55 hgext3rd/evolve/evolvecmd.py --- a/hgext3rd/evolve/evolvecmd.py Tue Jun 12 03:29:13 2018 +0530 +++ b/hgext3rd/evolve/evolvecmd.py Tue Jun 12 04:01:19 2018 +0530 @@ -503,8 +503,8 @@ tr = repo.currenttransaction() tr.close() evolvestate.save() - raise error.Abort(_("fix conflicts and run 'hg evolve --continue' or" - " use 'hg update -C .' to abort")) + raise error.Abort(_("fix conflicts and see `hg help " + "evolve.interrupted`")) def _completecontentdivergent(ui, repo, progresscb, divergent, other, base, evolvestate): diff -r 82b79a8dafd9 -r b293cce4ff55 tests/test-evolve-abort-contentdiv.t --- a/tests/test-evolve-abort-contentdiv.t Tue Jun 12 03:29:13 2018 +0530 +++ b/tests/test-evolve-abort-contentdiv.t Tue Jun 12 04:01:19 2018 +0530 @@ -78,7 +78,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ hg status -v @@ -178,7 +178,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ hg evolve --abort @@ -338,7 +338,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ hg evolve --abort diff -r 82b79a8dafd9 -r b293cce4ff55 tests/test-evolve-content-divergence.t --- a/tests/test-evolve-content-divergence.t Tue Jun 12 03:29:13 2018 +0530 +++ b/tests/test-evolve-content-divergence.t Tue Jun 12 04:01:19 2018 +0530 @@ -175,7 +175,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ echo foobar > d @@ -235,7 +235,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ echo watbar > d @@ -532,7 +532,7 @@ merging y warning: conflicts while merging y! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ echo watbar > y diff -r 82b79a8dafd9 -r b293cce4ff55 tests/test-evolve-stop-contentdiv.t --- a/tests/test-evolve-stop-contentdiv.t Tue Jun 12 03:29:13 2018 +0530 +++ b/tests/test-evolve-stop-contentdiv.t Tue Jun 12 04:01:19 2018 +0530 @@ -75,7 +75,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ hg evolve --stop @@ -129,7 +129,7 @@ merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ hg evolve --stop diff -r 82b79a8dafd9 -r b293cce4ff55 tests/test-stabilize-result.t --- a/tests/test-stabilize-result.t Tue Jun 12 03:29:13 2018 +0530 +++ b/tests/test-stabilize-result.t Tue Jun 12 04:01:19 2018 +0530 @@ -394,7 +394,7 @@ merging a warning: conflicts while merging a! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 1 files unresolved - abort: fix conflicts and run 'hg evolve --continue' or use 'hg update -C .' to abort + abort: fix conflicts and see `hg help evolve.interrupted` [255] $ cat > a <