Mercurial > evolve
diff tests/test-evolve.t @ 4445:0f2305921e4d stable
prune: use action "prune", not "touch", in precheck
We have been using "touch" since 06ee4ec88190 (prune: use precheck to
validate revision, 2017-07-23). That commit modified the tests, so it
kind seemed intentional, but I suspect it was still just an oversight.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 25 Mar 2019 15:44:44 -0700 |
parents | e5282131a78d |
children | f530850c8184 |
line wrap: on
line diff
--- a/tests/test-evolve.t Thu Mar 07 01:57:43 2019 +0530 +++ b/tests/test-evolve.t Mon Mar 25 15:44:44 2019 -0700 @@ -145,7 +145,7 @@ $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' 1 public $ hg prune 1 - abort: cannot touch public changesets: 7c3bad9141dc + abort: cannot prune public changesets: 7c3bad9141dc (see 'hg help phases' for details) [255] $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' @@ -1310,11 +1310,11 @@ $ mkcommit c5_ created new head $ hg prune '0ef9ff75f8e2 + f1b85956c48c' - abort: touch will orphan 1 descendants + abort: prune will orphan 1 descendants (see 'hg help evolution.instability') [255] $ hg prune '98e171e2f272::0d9203b74542' - abort: touch will orphan 1 descendants + abort: prune will orphan 1 descendants (see 'hg help evolution.instability') [255] $ hg prune '0ef9ff75f8e2::'