diff tests/test-uncommit-interactive.t @ 5898:91207a1c4dfa mercurial-5.0

test-compat: merge mercurial-5.1 into mercurial-5.0
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 24 Apr 2021 21:34:57 +0800
parents c2c85576ddfb
children 785b5be835ee 49c2890007d2
line wrap: on
line diff
--- a/tests/test-uncommit-interactive.t	Sat Apr 24 21:24:54 2021 +0800
+++ b/tests/test-uncommit-interactive.t	Sat Apr 24 21:34:57 2021 +0800
@@ -41,8 +41,7 @@
   > EOF
   diff --git a/a b/a
   new file mode 100644
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] q
+  examine changes to 'a'? [Ynesfdaq?] q
   
   abort: user quit
   [255]
@@ -95,8 +94,7 @@
   > EOF
   diff --git a/a b/a
   3 hunks, 6 lines changed
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -1,3 +1,6 @@
   +-2
@@ -105,8 +103,7 @@
    1
    2
    3
-  discard change 1/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 1/3 to 'a'? [Ynesfdaq?] n
   
   @@ -1,5 +4,7 @@
    1
@@ -116,15 +113,13 @@
   +bar
    4
    5
-  discard change 2/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/3 to 'a'? [Ynesfdaq?] n
   
   @@ -4,2 +9,3 @@
    4
    5
   +babar
-  discard change 3/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 3/3 to 'a'? [Ynesfdaq?] n
   
   abort: nothing selected to uncommit
   [255]
@@ -141,8 +136,7 @@
   > EOF
   diff --git a/a b/a
   3 hunks, 6 lines changed
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -1,3 +1,6 @@
   +-2
@@ -151,8 +145,7 @@
    1
    2
    3
-  discard change 1/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 1/3 to 'a'? [Ynesfdaq?] y
   
   @@ -1,5 +4,7 @@
    1
@@ -162,15 +155,13 @@
   +bar
    4
    5
-  discard change 2/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/3 to 'a'? [Ynesfdaq?] n
   
   @@ -4,2 +9,3 @@
    4
    5
   +babar
-  discard change 3/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 3/3 to 'a'? [Ynesfdaq?] n
   
 
   $ hg debugobsolete
@@ -247,8 +238,7 @@
   > EOF
   diff --git a/a b/a
   2 hunks, 3 lines changed
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -1,5 +1,7 @@
    1
@@ -258,15 +248,13 @@
   +bar
    4
    5
-  discard change 1/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 1/2 to 'a'? [Ynesfdaq?] n
   
   @@ -4,2 +6,3 @@
    4
    5
   +babar
-  discard change 2/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 2/2 to 'a'? [Ynesfdaq?] y
   
   patching file a
   Hunk #1 succeeded at 2 with fuzz 1 (offset 0 lines).
@@ -350,13 +338,11 @@
   > EOF
   diff --git a/foo b/foo
   new file mode 100644
-  examine changes to 'foo'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'foo'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +hey
-  discard this change to 'foo'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard this change to 'foo'? [Ynesfdaq?] y
   
   new changeset is empty
   (use 'hg prune .' to remove it)
@@ -419,8 +405,7 @@
   > EOF
   diff --git a/a b/a
   deleted file mode 100644
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  examine changes to 'a'? [Ynesfdaq?] n
   
   abort: nothing selected to uncommit
   [255]
@@ -437,8 +422,7 @@
   > EOF
   diff --git a/a b/a
   deleted file mode 100644
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   new changeset is empty
   (use 'hg prune .' to remove it)
@@ -502,24 +486,20 @@
   > EOF
   diff --git a/foo b/foo
   1 hunks, 1 lines changed
-  examine changes to 'foo'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'foo'? [Ynesfdaq?] y
   
   @@ -1,1 +1,2 @@
    hey
   +foo
-  discard change 1/2 to 'foo'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 1/2 to 'foo'? [Ynesfdaq?] y
   
   diff --git a/x b/x
   new file mode 100644
-  examine changes to 'x'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'x'? [Ynesfdaq?] y
   
   @@ -0,0 +1,1 @@
   +abcd
-  discard change 2/2 to 'x'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/2 to 'x'? [Ynesfdaq?] n
   
 
   $ hg exp
@@ -606,8 +586,7 @@
   > EOF
   diff --git a/a b/a
   3 hunks, 6 lines changed
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -1,3 +1,6 @@
   +-2
@@ -616,8 +595,7 @@
    1
    2
    3
-  discard change 1/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 1/3 to 'a'? [Ynesfdaq?] n
   
   @@ -1,5 +4,7 @@
    1
@@ -627,15 +605,13 @@
   +bar
    4
    5
-  discard change 2/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/3 to 'a'? [Ynesfdaq?] n
   
   @@ -4,2 +9,3 @@
    4
    5
   +babar
-  discard change 3/3 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 3/3 to 'a'? [Ynesfdaq?] y
   
   patching file a
   Hunk #1 succeeded at 1 with fuzz 1 (offset -1 lines).
@@ -694,8 +670,7 @@
   > EOF
   diff --git a/a b/a
   2 hunks, 5 lines changed
-  examine changes to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  examine changes to 'a'? [Ynesfdaq?] y
   
   @@ -1,3 +1,6 @@
   +-2
@@ -704,8 +679,7 @@
    1
    2
    3
-  discard change 1/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 1/2 to 'a'? [Ynesfdaq?] y
   
   @@ -1,5 +4,7 @@
    1
@@ -715,8 +689,7 @@
   +bar
    4
    5
-  discard change 2/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/2 to 'a'? [Ynesfdaq?] n
   
 
   $ hg exp
@@ -823,8 +796,7 @@
    5
    babar
   +celeste
-  discard this change to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard this change to 'a'? [Ynesfdaq?] y
   
   $ hg status
   M a
@@ -888,16 +860,14 @@
    -2
    -1
    0
-  discard change 1/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] y
+  discard change 1/2 to 'a'? [Ynesfdaq?] y
   
   @@ -9,3 +10,4 @@
    4
    5
    babar
   +celeste
-  discard change 2/2 to 'a'?
-  (enter ? for help) [Ynesfdaq?] n
+  discard change 2/2 to 'a'? [Ynesfdaq?] n
   
   $ hg status
   M a