Mercurial > hg
comparison tests/test-split.t @ 47018:7a90fddb13b0
rewriteutil: point to help about instability when rewriting creates orphan
This replicates the message from the evolve extension.
Differential Revision: https://phab.mercurial-scm.org/D10517
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 11 Feb 2021 15:11:10 -0800 |
parents | ca0049946e9a |
children | 5b6dd0d9171b |
comparison
equal
deleted
inserted
replaced
47017:da4e6d7a8fdd | 47018:7a90fddb13b0 |
---|---|
465 | 465 |
466 $ cd $TESTTMP/d | 466 $ cd $TESTTMP/d |
467 #if obsstore-off | 467 #if obsstore-off |
468 $ runsplit -r 1 --no-rebase | 468 $ runsplit -r 1 --no-rebase |
469 abort: cannot split changeset with children | 469 abort: cannot split changeset with children |
470 (see 'hg help evolution.instability') | |
470 [10] | 471 [10] |
471 #else | 472 #else |
472 $ runsplit -r 1 --no-rebase >/dev/null | 473 $ runsplit -r 1 --no-rebase >/dev/null |
473 3 new orphan changesets | 474 3 new orphan changesets |
474 $ hg bookmark | 475 $ hg bookmark |
516 2 new orphan changesets | 517 2 new orphan changesets |
517 $ eval `hg tags -T '{tag}={node}\n'` | 518 $ eval `hg tags -T '{tag}={node}\n'` |
518 $ rm .hg/localtags | 519 $ rm .hg/localtags |
519 $ hg split $B --config experimental.evolution=createmarkers | 520 $ hg split $B --config experimental.evolution=createmarkers |
520 abort: cannot split changeset with children | 521 abort: cannot split changeset with children |
522 (see 'hg help evolution.instability') | |
521 [10] | 523 [10] |
522 $ cat > $TESTTMP/messages <<EOF | 524 $ cat > $TESTTMP/messages <<EOF |
523 > Split B | 525 > Split B |
524 > EOF | 526 > EOF |
525 $ cat <<EOF | hg split $B | 527 $ cat <<EOF | hg split $B |