# HG changeset patch # User Steve Borho # Date 2010-01-05 16:20:28 # Node ID 37c4ce51a12d0cdc4c560e8991b7b52976180435 # Parent f5e55f1ca92738458295ca9f82f31c54a89babbb httprepo: always store the response url (issue1968) Fixes a regression caused by 54b518fc6671 diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -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: