mercurial/httprepo.py
changeset 5188 942c0827dc5b
parent 5066 167c422c745f
child 5196 86e95b93559a
child 5333 6e6a00a7bf75
--- a/mercurial/httprepo.py	Fri Aug 17 00:42:22 2007 +0200
+++ b/mercurial/httprepo.py	Fri Aug 17 22:43:38 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)))