py3: pass a str to getpass.getpass()

Authored by pulkit.

Description

py3: pass a str to getpass.getpass()

Otherwise I see password: b'' on the prompt.

skip-blame because just prefix

Differential Revision: https://phab.mercurial-scm.org/D6041

Details

Committed
pulkitMar 1 2019, 6:53 PM
Differential Revision
D6041: py3: pass a str to getpass.getpass()
Parents
rHGbce2356ece68: py3: port things from chgserver.py
Branches
Unknown
Tags
Unknown