https url handling: usernames and passwords were registered to the wrong url
authorElliott Peele <elliot@rpath.com>
Tue, 30 Oct 2007 16:54:25 -0700
changeset 5480 81bef3c355c5
parent 5479 f7c99e89178f
child 5481 003d1f174fe1
child 5499 e42cbd686c42
https url handling: usernames and passwords were registered to the wrong url
mercurial/httprepo.py
--- a/mercurial/httprepo.py	Sun Oct 28 09:25:35 2007 +0100
+++ b/mercurial/httprepo.py	Tue Oct 30 16:54:25 2007 -0700
@@ -256,7 +256,7 @@
         if user:
             ui.debug(_('http auth: user %s, password %s\n') %
                      (user, passwd and '*' * len(passwd) or 'not set'))
-            passmgr.add_password(None, self._url, user, passwd or '')
+            passmgr.add_password(None, host, user, passwd or '')
 
         handlers.extend((urllib2.HTTPBasicAuthHandler(passmgr),
                          httpdigestauthhandler(passmgr)))