author | Bryan O'Sullivan <bos@serpentine.com> |
Tue, 30 Oct 2007 16:56:01 -0700 | |
changeset 5499 | e42cbd686c42 |
parent 5496 | 5bff70ff0431 (current diff) |
parent 5480 | 81bef3c355c5 (diff) |
child 5501 | 52d6feb62692 |
--- a/mercurial/httprepo.py Sun Oct 28 09:47:54 2007 +0100 +++ b/mercurial/httprepo.py Tue Oct 30 16:56:01 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)))