--- a/tests/test-split.t Sat Aug 08 12:12:16 2015 -0700
+++ b/tests/test-split.t Sat Aug 08 12:16:55 2015 -0700
@@ -207,6 +207,45 @@
a98b35e86cae589b61892127c5ec1c868e41d910 286887947725085e03455d79649197feaef1eb9d 0 (*) {'user': 'test'} (glob)
5410a2352fa3114883327beee89e3085eefac25c 0b67cee46a7f2ad664f994027e7af95b36ae25fe 0 (*) {'user': 'test'} (glob)
719157b217acc43d397369a448824ed4c7a302f2 ced8fbcce3a7cd33f0e454d2cd63882ce1b6006b 73309fb98db840ba4ec5ad528346dc6ee0b39dcb 0 (*) {'user': 'test'} (glob)
+ $ hg evolve --all
+ move:[10] split1
+ atop:[13] split4
+ move:[11] split2
+ atop:[14] split1
+ working directory is now at f200e612ac86
+ $ hg glog
+ @ changeset: 15:f200e612ac86
+ | tag: tip
+ | user: test
+ | date: Thu Jan 01 00:00:00 1970 +0000
+ | summary: split2
+ |
+ o changeset: 14:aec57822a8ff
+ | user: test
+ | date: Thu Jan 01 00:00:00 1970 +0000
+ | summary: split1
+ |
+ o changeset: 13:73309fb98db8
+ | user: test
+ | date: Thu Jan 01 00:00:00 1970 +0000
+ | summary: split4
+ |
+ o changeset: 12:ced8fbcce3a7
+ | parent: 1:37445b16603b
+ | user: test
+ | date: Thu Jan 01 00:00:00 1970 +0000
+ | summary: split3
+ |
+ o changeset: 1:37445b16603b
+ | user: test
+ | date: Thu Jan 01 00:00:00 1970 +0000
+ | summary: add _b
+ |
+ o changeset: 0:135f39f4bd78
+ user: test
+ date: Thu Jan 01 00:00:00 1970 +0000
+ summary: add _a
+
Cannot specify multiple revisions with -r
$ hg split -r "desc(_a)::"
@@ -219,9 +258,9 @@
> evolution=createmarkers
> evolutioncommands=split
> EOF
- $ hg split -r "desc(_c)"
- 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
- abort: cannot split commit: 719157b217ac not a head
+ $ hg split -r "desc(split3)"
+ 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
+ abort: cannot split commit: ced8fbcce3a7 not a head
[255]