Mercurial > hg
changeset 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 | f7c99e89178f |
children | 003d1f174fe1 e42cbd686c42 |
files | mercurial/httprepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)))