mercurial/httprepo.py
changeset 5196 86e95b93559a
parent 5176 664a1c312972
parent 5188 942c0827dc5b
child 5258 b534c502bfb3
--- 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)))