diff tests/test-absorb.t @ 42566:f802a75da585

patch: use a short, fixed-size message for last line of prompt (issue6158) See issue6158 and the previous commit for examples of what might go wrong if we have some combinations of readline version and terminal and need to wrap the line. Briefly: readline may not display the beginning of the last line of the prompt, or it may print over it with the end of the prompt, making it difficult for users to know what's going on. Differential Revision: https://phab.mercurial-scm.org/D6563
author Kyle Lippincott <spectral@google.com>
date Thu, 20 Jun 2019 14:45:52 -0700
parents 86f17fc31aa8
children 1b757f385549
line wrap: on
line diff
--- a/tests/test-absorb.t	Thu Jun 20 11:40:47 2019 -0700
+++ b/tests/test-absorb.t	Thu Jun 20 14:45:52 2019 -0700
@@ -402,12 +402,14 @@
   $ hg absorb --dry-run --interactive --print-changes
   diff -r 99b4ae712f84 foo.py
   1 hunks, 1 lines changed
-  examine changes to 'foo.py'? [Ynesfdaq?] y
+  examine changes to 'foo.py'?
+  (enter ? for help) [Ynesfdaq?] y
   
   @@ -1,1 +1,1 @@
   -
   +bla
-  record this change to 'foo.py'? [Ynesfdaq?] y
+  record this change to 'foo.py'?
+  (enter ? for help) [Ynesfdaq?] y
   
   showing changes for foo.py
           @@ -0,1 +0,1 @@