tests/test-split.t
branchmercurial-3.5
changeset 1750 1dbb8fdb725a
parent 1698 dd6f090b7342
parent 1748 83cf722eafc3
--- a/tests/test-split.t	Fri May 06 00:24:00 2016 +0200
+++ b/tests/test-split.t	Fri Oct 28 16:59:32 2016 +0200
@@ -380,4 +380,13 @@
   abort: more than one revset is given
   (use either `hg split <rs>` or `hg split --rev <rs>`, not both)
   [255]
+  $ hg revert --all
+  forgetting _d
 
+Split empty commit (issue5191)
+  $ hg branch new-branch
+  marked working directory as branch new-branch
+  (branches are permanent and global, did you want a bookmark?)
+  $ hg commit -m "empty"
+  $ hg split
+  0 files updated, 0 files merged, 0 files removed, 0 files unresolved