changeset 12862:9d6adddc8eea stable

url: show realm/user when asking for username/password
author timeless <timeless@gmail.com>
date Tue, 26 Oct 2010 14:41:58 +0300
parents 1c57a66bf985
children 60d9692921ea
files mercurial/url.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/url.py	Tue Oct 26 14:41:58 2010 +0300
+++ b/mercurial/url.py	Tue Oct 26 14:41:58 2010 +0300
@@ -131,9 +131,9 @@
                 raise util.Abort(_('http authorization required'))
 
             self.ui.write(_("http authorization required\n"))
-            self.ui.status(_("realm: %s\n") % realm)
+            self.ui.write(_("realm: %s\n") % realm)
             if user:
-                self.ui.status(_("user: %s\n") % user)
+                self.ui.write(_("user: %s\n") % user)
             else:
                 user = self.ui.prompt(_("user:"), default=None)