diff mercurial/httprepo.py @ 5196:86e95b93559a

Merge with crew-stable
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 17 Aug 2007 23:20:13 -0300
parents 664a1c312972 942c0827dc5b
children b534c502bfb3
line wrap: on
line diff
--- a/mercurial/httprepo.py	Fri Aug 17 20:18:05 2007 -0300
+++ b/mercurial/httprepo.py	Fri Aug 17 23:20:13 2007 -0300
@@ -253,7 +253,7 @@
         if user:
             ui.debug(_('http auth: user %s, password %s\n') %
                      (user, passwd and '*' * len(passwd) or 'not set'))
-            passmgr.add_password(None, host, user, passwd or '')
+            passmgr.add_password(None, self._url, user, passwd or '')
 
         handlers.extend((urllib2.HTTPBasicAuthHandler(passmgr),
                          httpdigestauthhandler(passmgr)))