Mercurial > public > mercurial-scm > hg-stable
diff mercurial/httprepo.py @ 5480:81bef3c355c5
https url handling: usernames and passwords were registered to the wrong url
author | Elliott Peele <elliot@rpath.com> |
---|---|
date | Tue, 30 Oct 2007 16:54:25 -0700 |
parents | b3afa6725082 |
children | d5b9c74c910e |
line wrap: on
line diff
--- 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)))