Mercurial > hg
changeset 7600:f7739cf3833c
lowercase prompts
The prompts are interactive and not meant for scripts.
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 03 Jan 2009 17:15:21 +0100 |
parents | 7bf7c073375e |
children | 49355875c805 |
files | hgext/patchbomb.py mercurial/ui.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/patchbomb.py Sat Jan 03 17:15:21 2009 +0100 +++ b/hgext/patchbomb.py Sat Jan 03 17:15:21 2009 +0100 @@ -101,7 +101,7 @@ if summary: ui.write(summary, '\n') ui.write(s, '\n') - ans = prompt(ui, _('Does the diffstat above look okay? '), 'y') + ans = prompt(ui, _('does the diffstat above look okay? '), 'y') if not ans.lower().startswith('y'): raise util.Abort(_('diffstat rejected')) return s
--- a/mercurial/ui.py Sat Jan 03 17:15:21 2009 +0100 +++ b/mercurial/ui.py Sat Jan 03 17:15:21 2009 +0100 @@ -340,7 +340,7 @@ if user is None: user = os.environ.get("EMAIL") if user is None and self.configbool("ui", "askusername"): - user = self.prompt(_("Enter a commit username:"), default=None) + user = self.prompt(_("enter a commit username:"), default=None) if user is None: try: user = '%s@%s' % (util.getuser(), socket.getfqdn())