mercurial/ui.py
changeset 13774 1ce0e80799c0
parent 13576 edd06611a7c6
child 13825 cc383142e738
--- a/mercurial/ui.py	Sun Mar 27 12:41:55 2011 +0200
+++ b/mercurial/ui.py	Sun Mar 27 12:59:25 2011 +0200
@@ -483,7 +483,7 @@
             self.write(msg, ' ', default, "\n")
             return default
         try:
-            r = self._readline(msg + ' ')
+            r = self._readline(self.label(msg, 'ui.prompt') + ' ')
             if not r:
                 return default
             return r