Patchwork debugcommands: fix typo in debuguigetpass

login
register
mail settings
Submitter Yuya Nishihara
Date March 29, 2020, 1:46 p.m.
Message ID <30ad0dfa5e61a17c9923.1585489575@mimosa>
Download mbox | patch
Permalink /patch/45935/
State Accepted
Headers show

Comments

Yuya Nishihara - March 29, 2020, 1:46 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1585414637 -32400
#      Sun Mar 29 01:57:17 2020 +0900
# Node ID 30ad0dfa5e61a17c99235665e42e5d338331ae88
# Parent  11f284c8c5e46925c3ff23a6c8f611b12d482b84
debugcommands: fix typo in debuguigetpass
Augie Fackler - April 1, 2020, 7:23 p.m.
queued, thanks

> On Mar 29, 2020, at 09:46, Yuya Nishihara <yuya@tcha.org> wrote:
> 
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1585414637 -32400
> #      Sun Mar 29 01:57:17 2020 +0900
> # Node ID 30ad0dfa5e61a17c99235665e42e5d338331ae88
> # Parent  11f284c8c5e46925c3ff23a6c8f611b12d482b84
> debugcommands: fix typo in debuguigetpass
> 
> diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
> --- a/mercurial/debugcommands.py
> +++ b/mercurial/debugcommands.py
> @@ -3719,7 +3719,7 @@ def debugtemplate(ui, repo, tmpl, **opts
> def debuguigetpass(ui, prompt=b''):
>     """show prompt to type password"""
>     r = ui.getpass(prompt)
> -    ui.writenoi18n(b'respose: %s\n' % r)
> +    ui.writenoi18n(b'response: %s\n' % r)
> 
> 
> @command(
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -3719,7 +3719,7 @@  def debugtemplate(ui, repo, tmpl, **opts
 def debuguigetpass(ui, prompt=b''):
     """show prompt to type password"""
     r = ui.getpass(prompt)
-    ui.writenoi18n(b'respose: %s\n' % r)
+    ui.writenoi18n(b'response: %s\n' % r)
 
 
 @command(