--- a/tests/test-evolve.t Wed Nov 30 11:17:55 2016 +0000
+++ b/tests/test-evolve.t Wed Nov 23 21:00:42 2016 +0530
@@ -1301,9 +1301,11 @@
created new head
$ hg prune '26 + 27'
abort: cannot prune in the middle of a stack
+ (new unstable changesets are not allowed)
[255]
$ hg prune '19::28'
abort: cannot prune in the middle of a stack
+ (new unstable changesets are not allowed)
[255]
$ hg prune '26::'
3 changesets pruned
@@ -1338,9 +1340,11 @@
$ hg fold --exact "19 + 18"
abort: cannot fold chain not ending with a head or with branching
+ (new unstable changesets are not allowed)
[255]
$ hg fold --exact "18::29"
abort: cannot fold chain not ending with a head or with branching
+ (new unstable changesets are not allowed)
[255]
$ hg fold --exact "19::"
2 changesets folded
@@ -1483,10 +1487,11 @@
check that metaedit respects allowunstable
$ hg metaedit '.^' --config 'experimental.evolution=createmarkers, allnewcommands'
abort: cannot edit commit information in the middle of a stack
- (c904da5245b0 will be affected)
+ (c904da5245b0 will become unstable and new unstable changes are not allowed)
[255]
$ hg metaedit '18::20' --fold --config 'experimental.evolution=createmarkers, allnewcommands'
abort: cannot fold chain not ending with a head or with branching
+ (new unstable changesets are not allowed)
[255]
$ hg metaedit --user foobar
0 files updated, 0 files merged, 0 files removed, 0 files unresolved