Mercurial > hg
diff hgext/strip.py @ 36834:1527f40de3b3
ui: remove any combinations of CR|LF from prompt response
On Windows, we have to accept both CR+LF and LF. This patch simply makes
any trailing CRs and LFs removed from a user input instead of doing stricter
parsing, as an input must be a readable text.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 10 Mar 2018 15:50:09 +0900 |
parents | 28a97cf212af |
children | 46c2b19a1263 |