httprepo: always store the response url (issue1968)

Fixes a regression caused by e52456aeb2b0
This commit is contained in:
Steve Borho 2010-01-05 10:20:28 -06:00
parent 5a4377e3c4
commit 01beb4abff

View File

@ -95,7 +95,7 @@ class httprepository(repo.repository):
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: