mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
httprepo: always store the response url (issue1968)
Fixes a regression caused by e52456aeb2b0
This commit is contained in:
parent
5a4377e3c4
commit
01beb4abff
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user