diff hgext/uncommit.py @ 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 8ff1ecfadcd1
children c21aca51b392
line wrap: on
line diff