--- a/tests/test-evolve.t Tue Dec 13 10:28:09 2016 -0800
+++ b/tests/test-evolve.t Thu Jan 12 13:47:49 2017 -0800
@@ -679,7 +679,16 @@
$ hg fold
abort: no revisions specified
[255]
+ $ hg fold --from
+ abort: no revisions specified
+ [255]
$ hg fold .
+ abort: must specify either --from or --exact
+ [255]
+ $ hg fold --from . --exact
+ abort: cannot use both --from and --exact
+ [255]
+ $ hg fold --from .
single revision specified, nothing to fold
[1]
$ hg fold 0::10 --rev 1 --exact
@@ -688,18 +697,18 @@
$ hg fold -r 4 -r 6 --exact
abort: cannot fold non-linear revisions (multiple roots given)
[255]
- $ hg fold 10 1
+ $ hg fold --from 10 1
abort: cannot fold non-linear revisions
(given revisions are unrelated to parent of working directory)
[255]
$ hg phase --public 0
- $ hg fold -r 0
+ $ hg fold --from -r 0
abort: cannot fold public revisions
[255]
- $ hg fold -r 5
+ $ hg fold --from -r 5
3 changesets folded
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- $ hg fold 6 # want to run hg fold 6
+ $ hg fold --from 6 # want to run hg fold 6
abort: hidden revision '6'!
(use --hidden to access hidden revisions)
[255]
@@ -806,7 +815,7 @@
Test fold with commit messages
$ cd ../work
- $ hg fold .^ --message "Folding with custom commit message"
+ $ hg fold --from .^ --message "Folding with custom commit message"
2 changesets folded
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ glog
@@ -825,7 +834,7 @@
> commit message
> EOF
- $ hg fold .^ --logfile commit-message
+ $ hg fold --from .^ --logfile commit-message
2 changesets folded
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg qlog