lowercase prompts
The prompts are interactive and not meant for scripts.
--- 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())