Commits

Marcin Kasperski committed 8224c26

Better error message

Comments (0)

Files changed (1)

mercurial_keyring.py

 
         # Last resort: interactive prompt
         if not ui.interactive():
-            raise util.Abort(_('mercurial_keyring: http authorization required'))
+            raise util.Abort(_('mercurial_keyring: http authorization required but program used in non-interactive mode'))
         ui.write(_("http authorization required\n"))
         ui.status(_("realm: %s\n") % realm)
         if fixed_user: