changeset 10208:37c4ce51a12d

httprepo: always store the response url (issue1968) Fixes a regression caused by 54b518fc6671
author Steve Borho <steve@borho.org>
date Tue, 05 Jan 2010 10:20:28 -0600
parents f5e55f1ca927
children 3ab391dd5ec5
files mercurial/httprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/httprepo.py	Mon Jan 04 01:11:18 2010 +0100
+++ b/mercurial/httprepo.py	Tue Jan 05 10:20:28 2010 -0600
@@ -95,7 +95,7 @@
             resp_url = resp_url[:-len(qs)]
         if self._url.rstrip('/') != resp_url.rstrip('/'):
             self.ui.status(_('real URL is %s\n') % resp_url)
-            self._url = resp_url
+        self._url = resp_url
         try:
             proto = resp.getheader('content-type')
         except AttributeError: