Mercurial > hg
comparison .hgignore @ 43118:57efd5bd2ca2
py3: decode prompt string before calling rawinput
Calling input() (aka pycompat.rawinput() on python3) with a byte string
displays a byte string in the console. E.g. in interactive commit, we
get: b"examine changes to '<file>'?\n(enter ? for help) [Ynesfdaq?]".
Similarly, "hg email" prompts are messed up.
We thus decode the prompt string before running rawinput().
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 09 Oct 2019 15:28:16 +0200 |
parents | aab43d5861bb |
children | 8492c6293c31 |
comparison
equal
deleted
inserted
replaced
43117:8ff1ecfadcd1 | 43118:57efd5bd2ca2 |
---|