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
Showing
- mercurial/patch.py 3 additions, 1 deletionmercurial/patch.py
- tests/test-absorb.t 4 additions, 2 deletionstests/test-absorb.t
- tests/test-amend.t 4 additions, 2 deletionstests/test-amend.t
- tests/test-commit-interactive.t 170 additions, 85 deletionstests/test-commit-interactive.t
- tests/test-diff-color.t 6 additions, 3 deletionstests/test-diff-color.t
- tests/test-editor-filename.t 6 additions, 3 deletionstests/test-editor-filename.t
- tests/test-keyword.t 14 additions, 7 deletionstests/test-keyword.t
- tests/test-mq-qrefresh-interactive.t 20 additions, 10 deletionstests/test-mq-qrefresh-interactive.t
- tests/test-mq-subrepo.t 12 additions, 6 deletionstests/test-mq-subrepo.t
- tests/test-qrecord.t 20 additions, 10 deletionstests/test-qrecord.t
- tests/test-revert-interactive.t 60 additions, 30 deletionstests/test-revert-interactive.t
- tests/test-shelve.t 6 additions, 3 deletionstests/test-shelve.t
- tests/test-split.t 44 additions, 22 deletionstests/test-split.t
Loading
Please register or sign in to comment