changeset 5499:e42cbd686c42

Merge with crew-stable.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 30 Oct 2007 16:56:01 -0700
parents 5bff70ff0431 (current diff) 81bef3c355c5 (diff)
children 52d6feb62692
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/httprepo.py	Sun Oct 28 09:47:54 2007 +0100
+++ b/mercurial/httprepo.py	Tue Oct 30 16:56:01 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)))