# HG changeset patch # User Martin Geisler # Date 1230999321 -3600 # Node ID f7739cf3833c586611209f5cb472004287bdab90 # Parent 7bf7c073375e9124624089d496beaad98a981340 lowercase prompts The prompts are interactive and not meant for scripts. diff -r 7bf7c073375e -r f7739cf3833c hgext/patchbomb.py --- 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 diff -r 7bf7c073375e -r f7739cf3833c mercurial/ui.py --- 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())