lowercase prompts
authorMartin Geisler <mg@daimi.au.dk>
Sat, 03 Jan 2009 17:15:21 +0100
changeset 7600 f7739cf3833c
parent 7599 7bf7c073375e
child 7601 49355875c805
lowercase prompts The prompts are interactive and not meant for scripts.
hgext/patchbomb.py
mercurial/ui.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
--- 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())