Mercurial > public > mercurial-scm > hg
comparison mercurial/debugcommands.py @ 44660:649fd6c3ed33
debugcommands: fix typo in debuguigetpass
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 29 Mar 2020 01:57:17 +0900 |
parents | 99ea74cbed74 |
children | b7808443ed6a |
comparison
equal
deleted
inserted
replaced
44659:67f757ed86e0 | 44660:649fd6c3ed33 |
---|---|
3719 norepo=True, | 3719 norepo=True, |
3720 ) | 3720 ) |
3721 def debuguigetpass(ui, prompt=b''): | 3721 def debuguigetpass(ui, prompt=b''): |
3722 """show prompt to type password""" | 3722 """show prompt to type password""" |
3723 r = ui.getpass(prompt) | 3723 r = ui.getpass(prompt) |
3724 ui.writenoi18n(b'respose: %s\n' % r) | 3724 ui.writenoi18n(b'response: %s\n' % r) |
3725 | 3725 |
3726 | 3726 |
3727 @command( | 3727 @command( |
3728 b'debuguiprompt', | 3728 b'debuguiprompt', |
3729 [(b'p', b'prompt', b'', _(b'prompt text'), _(b'TEXT')),], | 3729 [(b'p', b'prompt', b'', _(b'prompt text'), _(b'TEXT')),], |