comparison mercurial/wireprotoserver.py @ 36794:fa53a1d1f16e

ui: do not try readline support if fin/fout aren't standard streams It's unlikely for a non-stdio stream to be a tty. Minimizing readline support makes it much simpler to work around the unicode input() function of Python 3. This also works on chg which duplicates client's tty to stdio fds.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 06 Mar 2018 02:32:26 -0600
parents 7bf80d9d9543
children 7574c8173d5e
comparison
equal deleted inserted replaced
36793:eca1051e6c22 36794:fa53a1d1f16e