##// END OF EJS Templates
Explicit information that keyring is not used due to lack of username
Marcin Kasperski -
r52:9cb5c985 default
parent child Browse files
Show More
@@ -162,6 +162,10 b' class HTTPPasswordHandler(object):'
162 # Last resort: interactive prompt
162 # Last resort: interactive prompt
163 if not ui.interactive():
163 if not ui.interactive():
164 raise util.Abort(_('mercurial_keyring: http authorization required but program used in non-interactive mode'))
164 raise util.Abort(_('mercurial_keyring: http authorization required but program used in non-interactive mode'))
165
166 if not fixed_user:
167 ui.status(_("Username not specified in .hg/hgrc. Keyring will not be used.\n"))
168
165 ui.write(_("http authorization required\n"))
169 ui.write(_("http authorization required\n"))
166 ui.status(_("realm: %s\n") % realm)
170 ui.status(_("realm: %s\n") % realm)
167 if fixed_user:
171 if fixed_user:
General Comments 0
You need to be logged in to leave comments. Login now