[issue3161] mercurial does not use command server protocol for passwords
Sergey Antonov
bugs at mercurial.selenic.com
Sun Dec 18 13:47:21 UTC 2011
New submission from Sergey Antonov <sergant_ at mail.ru>:
I'm trying to run mercurial in command server mode.
I run a command that works with remote server and requires to enter
credentials (i.e. push). The mercurial asks for username using 'Input'
channel just fine, but for password it is not.
Here are steps to reproduce:
1. hg clone https://bitbucket.org/zzsergant/testcmdsrv
2. cd testcmdsrv
3. echo 2 >> a.txt
4. hg ci -m "edit"
5. Create cmdsrv.py and copy example client from part 5 at
http://mercurial.selenic.com/wiki/CommandServer
6. cmdsrv.py push
If I run this script from console (cmd.exe) it works fine (asked for
username/password).
But, if I run it from IDE (which redirects output to a tool window), then it
hang after I enter username.
Looks like it asks for password in a different way, than for username.
Because username is echoed in the console, but password is not.
----------
messages: 18352
nosy: zzsergant
priority: bug
status: unread
title: mercurial does not use command server protocol for passwords
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3161>
____________________________________________________
More information about the Mercurial-devel
mailing list