comparison tests/test-unamend.t @ 47070:d90f6237b3aa

rewriteutil: say how many commits would become orphan if commit is rewritten This copies the message from the evolve extension, but modifies it a bit to work with the grammar (in particular with the use of "change branch of" as `action`). I don't know why it doesn't use the same `_formatrevs()` as for public commmits. Differential Revision: https://phab.mercurial-scm.org/D10671
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 04 May 2021 10:49:32 -0700
parents 5b6dd0d9171b
children f1898680d713
comparison
equal deleted inserted replaced
47069:5b6dd0d9171b 47070:d90f6237b3aa
282 | 282 |
283 o 0:18d04c59bb5d Added a 283 o 0:18d04c59bb5d Added a
284 284
285 285
286 $ hg --config experimental.evolution=createmarkers unamend 286 $ hg --config experimental.evolution=createmarkers unamend
287 abort: cannot unamend changeset with children 287 abort: cannot unamend changeset, as that will orphan 3 descendants
288 (see 'hg help evolution.instability') 288 (see 'hg help evolution.instability')
289 [10] 289 [10]
290 290
291 $ hg unamend 291 $ hg unamend
292 3 new orphan changesets 292 3 new orphan changesets