Mercurial > hg
comparison tests/test-split.t @ 47069:5b6dd0d9171b
rewriteutil: give examples of public changesets that can't be rewritten
This patch copies the feature from the evolve extension.
Differential Revision: https://phab.mercurial-scm.org/D10670
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 04 May 2021 10:16:34 -0700 |
parents | 7a90fddb13b0 |
children | d90f6237b3aa |
comparison
equal
deleted
inserted
replaced
47060:fde5bb5d1acf | 47069:5b6dd0d9171b |
---|---|
75 | 75 |
76 Cannot split a public changeset | 76 Cannot split a public changeset |
77 | 77 |
78 $ hg phase --public -r 'all()' | 78 $ hg phase --public -r 'all()' |
79 $ hg split . | 79 $ hg split . |
80 abort: cannot split public changesets | 80 abort: cannot split public changesets: 1df0d5c5a3ab |
81 (see 'hg help phases' for details) | 81 (see 'hg help phases' for details) |
82 [10] | 82 [10] |
83 | 83 |
84 $ hg phase --draft -f -r 'all()' | 84 $ hg phase --draft -f -r 'all()' |
85 | 85 |