diff tests/test-split.t @ 6592:873612cbecf6 mercurial-5.0

test-compat: merge mercurial-5.1 into mercurial-5.0
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 15 Oct 2023 16:33:32 -0300
parents 8f56c72a73ff
children 6fb3d0a7929b
line wrap: on
line diff
--- a/tests/test-split.t	Sun Oct 15 16:21:07 2023 -0300
+++ b/tests/test-split.t	Sun Oct 15 16:33:32 2023 -0300
@@ -57,35 +57,29 @@
   adding _d
   diff --git a/_a b/_a
   1 hunks, 1 lines changed
-  examine changes to '_a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_a'? [Ynesfdaq?] y
   
   @@ -1,0 +2,1 @@
   +change to a
-  record change 1/2 to '_a'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to '_a'? [Ynesfdaq?] y
   
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_d'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +_d
-  record change 2/2 to '_d'?
-  (enter ? for help) [Ynesfdaq?] n
+  record change 2/2 to '_d'? [Ynesfdaq?] n
   
   created new head
   continue splitting? [Ycdq?] Y
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_d'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +_d
-  record this change to '_d'?
-  (enter ? for help) [Ynesfdaq?] y
+  record this change to '_d'? [Ynesfdaq?] y
   
   no more changes to split
 
@@ -185,23 +179,19 @@
   adding _c
   diff --git a/_b b/_b
   1 hunks, 1 lines changed
-  examine changes to '_b'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_b'? [Ynesfdaq?] y
   
   @@ -1,0 +2,1 @@
   +change to b
-  record change 1/2 to '_b'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to '_b'? [Ynesfdaq?] y
   
   diff --git a/_c b/_c
   new file mode 100644
-  examine changes to '_c'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_c'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +_c
-  record change 2/2 to '_c'?
-  (enter ? for help) [Ynesfdaq?] n
+  record change 2/2 to '_c'? [Ynesfdaq?] n
   
   created new head
   continue splitting? [Ycdq?] c
@@ -292,20 +282,17 @@
   adding _d
   diff --git a/_a b/_a
   1 hunks, 2 lines changed
-  examine changes to '_a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to '_a'? [Ynesfdaq?] y
   
   @@ -1,2 +1,1 @@
   -_a
   -change to a
   +changetofilea
-  record change 1/2 to '_a'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to '_a'? [Ynesfdaq?] y
   
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] n
+  examine changes to '_d'? [Ynesfdaq?] n
   
   created new head
   continue splitting? [Ycdq?] c
@@ -340,8 +327,7 @@
   adding _d
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] abort: response expected
+  examine changes to '_d'? [Ynesfdaq?] abort: response expected
   [255]
 
 Cannot split a commit that is not a head if instability is not allowed
@@ -367,8 +353,7 @@
   adding _d
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] q
+  examine changes to '_d'? [Ynesfdaq?] q
   
   abort: user quit
   [255]
@@ -381,8 +366,7 @@
   adding _d
   diff --git a/_d b/_d
   new file mode 100644
-  examine changes to '_d'?
-  (enter ? for help) [Ynesfdaq?] q
+  examine changes to '_d'? [Ynesfdaq?] q
   
   abort: user quit
   [255]
@@ -457,18 +441,15 @@
   adding celeste
   diff --git a/babar b/babar
   new file mode 100644
-  examine changes to 'babar'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'babar'? [Ynesfdaq?] Y
   
   @@ -0,0 +1,1 @@
   +babar
-  record change 1/2 to 'babar'?
-  (enter ? for help) [Ynesfdaq?] Y
+  record change 1/2 to 'babar'? [Ynesfdaq?] Y
   
   diff --git a/celeste b/celeste
   new file mode 100644
-  examine changes to 'celeste'?
-  (enter ? for help) [Ynesfdaq?] N
+  examine changes to 'celeste'? [Ynesfdaq?] N
   
   continue splitting? [Ycdq?] c
 
@@ -563,19 +544,16 @@
   adding SPLIT2
   diff --git a/SPLIT1 b/SPLIT1
   new file mode 100644
-  examine changes to 'SPLIT1'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'SPLIT1'? [Ynesfdaq?] Y
   
   diff --git a/SPLIT2 b/SPLIT2
   new file mode 100644
-  examine changes to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] N
+  examine changes to 'SPLIT2'? [Ynesfdaq?] N
   
   continue splitting? [Ycdq?] Y
   diff --git a/SPLIT2 b/SPLIT2
   new file mode 100644
-  examine changes to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'SPLIT2'? [Ynesfdaq?] Y
   
   no more changes to split
 
@@ -644,13 +622,11 @@
   adding SPLIT4
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
-  examine changes to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'SPLIT3'? [Ynesfdaq?] Y
   
   diff --git a/SPLIT4 b/SPLIT4
   new file mode 100644
-  examine changes to 'SPLIT4'?
-  (enter ? for help) [Ynesfdaq?] q
+  examine changes to 'SPLIT4'? [Ynesfdaq?] q
   
   abort: user quit
   [255]
@@ -692,13 +668,11 @@
   adding SPLIT4
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
-  examine changes to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'SPLIT3'? [Ynesfdaq?] Y
   
   diff --git a/SPLIT4 b/SPLIT4
   new file mode 100644
-  examine changes to 'SPLIT4'?
-  (enter ? for help) [Ynesfdaq?] ?
+  examine changes to 'SPLIT4'? [Ynesfdaq?] ?
   
   y - yes, record this change
   n - no, skip this change
@@ -709,8 +683,7 @@
   a - record all changes to all remaining files
   q - quit, recording no changes
   ? - ? (display help)
-  examine changes to 'SPLIT4'?
-  (enter ? for help) [Ynesfdaq?] d
+  examine changes to 'SPLIT4'? [Ynesfdaq?] d
   
   continue splitting? [Ycdq?] ?
   y - yes, continue selection
@@ -775,13 +748,11 @@
   adding SPLIT3
   diff --git a/SPLIT2 b/SPLIT2
   new file mode 100644
-  examine changes to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] Y
+  examine changes to 'SPLIT2'? [Ynesfdaq?] Y
   
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
-  examine changes to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] d
+  examine changes to 'SPLIT3'? [Ynesfdaq?] d
   
   continue splitting? [Ycdq?] d
   discarding remaining changes
@@ -836,15 +807,13 @@
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp2
-  record change 1/2 to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y
   
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp3
-  record change 2/2 to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] s
+  record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s
   
   continue splitting? [Ycdq?] c
 
@@ -873,23 +842,20 @@
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp2
-  record change 1/2 to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y
   
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp3
-  record change 2/2 to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] s
+  record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s
   
   continue splitting? [Ycdq?] y
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp3
-  record this change to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] y
+  record this change to 'SPLIT3'? [Ynesfdaq?] y
   
   no more changes to split
 
@@ -917,15 +883,13 @@
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp2
-  record change 1/2 to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y
   
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp3
-  record change 2/2 to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 2/2 to 'SPLIT3'? [Ynesfdaq?] y
   
   no more changes to split
   $ hg status --change '.~1'
@@ -952,15 +916,13 @@
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp2
-  record change 1/2 to 'SPLIT2'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y
   
   diff --git a/SPLIT3 b/SPLIT3
   new file mode 100644
   @@ -0,0 +1,1 @@
   +sp3
-  record change 2/2 to 'SPLIT3'?
-  (enter ? for help) [Ynesfdaq?] s
+  record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s
   
   continue splitting? [Ycdq?] d
   discarding remaining changes
@@ -1093,31 +1055,26 @@
   adding b
   diff --git a/a b/a
   new file mode 100644
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +a
-  record change 1/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'a'? [Ynesfdaq?] y
   
   diff --git a/b b/b
   new file mode 100644
-  examine changes to 'b'?
-  (enter ? for help) [Ynesfdaq?] n
+  examine changes to 'b'? [Ynesfdaq?] n
   
   created new head
   (consider using topic for lightweight branches. See 'hg help topic')
   continue splitting? [Ycdq?] y
   diff --git a/b b/b
   new file mode 100644
-  examine changes to 'b'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'b'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +b
-  record this change to 'b'?
-  (enter ? for help) [Ynesfdaq?] y
+  record this change to 'b'? [Ynesfdaq?] y
   
   no more changes to split
   1 new orphan changesets
@@ -1231,18 +1188,15 @@
   adding c
   diff --git a/b b/b
   new file mode 100644
-  examine changes to 'b'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'b'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +b
-  record change 1/2 to 'b'?
-  (enter ? for help) [Ynesfdaq?] y
+  record change 1/2 to 'b'? [Ynesfdaq?] y
   
   diff --git a/c b/c
   new file mode 100644
-  examine changes to 'c'?
-  (enter ? for help) [Ynesfdaq?] n
+  examine changes to 'c'? [Ynesfdaq?] n
   
   created new head
   (consider using topic for lightweight branches. See 'hg help topic')
@@ -1303,26 +1257,22 @@
   adding c
   diff --git a/a b/a
   new file mode 100644
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] f
+  examine changes to 'a'? [Ynesfdaq?] f
   
   diff --git a/b b/b
   new file mode 100644
-  examine changes to 'b'?
-  (enter ? for help) [Ynesfdaq?] d
+  examine changes to 'b'? [Ynesfdaq?] d
   
   created new head
   (consider using topic for lightweight branches. See 'hg help topic')
   continue splitting? [Ycdq?] y
   diff --git a/b b/b
   new file mode 100644
-  examine changes to 'b'?
-  (enter ? for help) [Ynesfdaq?] f
+  examine changes to 'b'? [Ynesfdaq?] f
   
   diff --git a/c b/c
   new file mode 100644
-  examine changes to 'c'?
-  (enter ? for help) [Ynesfdaq?] d
+  examine changes to 'c'? [Ynesfdaq?] d
   
   continue splitting? [Ycdq?] d
   discarding remaining changes