diff tests/test-split.t @ 2771:6044bd16bfb7

split: add support for the -D and -U option
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 07:34:18 +0200
parents a9ea16a1f4dc
children 1d16c9dcb825
line wrap: on
line diff
--- a/tests/test-split.t	Sun Jul 23 17:06:27 2017 +0200
+++ b/tests/test-split.t	Sun Jul 23 07:34:18 2017 +0200
@@ -399,9 +399,18 @@
   $ echo babar > babar
   $ echo celeste > celeste
   $ hg add babar celeste
-  $ hg commit -m "Works on mytopic" babar celeste
+  $ hg commit -m "Works on mytopic" babar celeste --user victor
+  $ hg log -r . 
+  changeset:   21:26f72cfaf036
+  branch:      new-branch
+  tag:         tip
+  topic:       mytopic
+  user:        victor
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     Works on mytopic
+  
   $ hg summary
-  parent: 21:0a160c9fe1dd tip
+  parent: 21:26f72cfaf036 tip
    Works on mytopic
   branch: new-branch
   commit: 2 unknown (clean)
@@ -411,7 +420,7 @@
 
 Split it
 
-  $ hg split << EOF
+  $ hg split -U << EOF
   > Y
   > Y
   > N