##// END OF EJS Templates
py3: decode prompt string before calling rawinput...
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().

File last commit:

r36625:c6061cad default
r43388:57efd5bd default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer