ui: use input() directly
pycompat.rawinput() is an alias to input()
Differential Revision: https://phab.mercurial-scm.org/D12339
--- a/mercurial/ui.py Tue Mar 01 20:50:34 2022 -0800
+++ b/mercurial/ui.py Tue Mar 08 10:58:22 2022 +0100
@@ -1725,9 +1725,9 @@
if usereadline:
self.flush()
prompt = encoding.strfromlocal(prompt)
- line = encoding.strtolocal(pycompat.rawinput(prompt))
+ line = encoding.strtolocal(input(prompt))
# When stdin is in binary mode on Windows, it can cause
- # raw_input() to emit an extra trailing carriage return
+ # input() to emit an extra trailing carriage return
if pycompat.oslinesep == b'\r\n' and line.endswith(b'\r'):
line = line[:-1]
else: