diff -r 981d895d69cf -r 1dbb8fdb725a tests/test-split.t --- 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 ` or `hg split --rev `, 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