changeset 5480 | 81bef3c355c5 |
parent 5476 | b3afa6725082 |
child 5526 | d5b9c74c910e |
--- 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)))