##// END OF EJS Templates
https url handling: usernames and passwords were registered to the wrong url
Elliott Peele -
r5480:81bef3c3 default
parent child Browse files
Show More
@@ -256,7 +256,7 b' class httprepository(remoterepository):'
256 if user:
256 if user:
257 ui.debug(_('http auth: user %s, password %s\n') %
257 ui.debug(_('http auth: user %s, password %s\n') %
258 (user, passwd and '*' * len(passwd) or 'not set'))
258 (user, passwd and '*' * len(passwd) or 'not set'))
259 passmgr.add_password(None, self._url, user, passwd or '')
259 passmgr.add_password(None, host, user, passwd or '')
260
260
261 handlers.extend((urllib2.HTTPBasicAuthHandler(passmgr),
261 handlers.extend((urllib2.HTTPBasicAuthHandler(passmgr),
262 httpdigestauthhandler(passmgr)))
262 httpdigestauthhandler(passmgr)))
General Comments 0
You need to be logged in to leave comments. Login now