# HG changeset patch # User Steve Borho # Date 1262708428 21600 # Node ID 37c4ce51a12d0cdc4c560e8991b7b52976180435 # Parent f5e55f1ca92738458295ca9f82f31c54a89babbb httprepo: always store the response url (issue1968) Fixes a regression caused by 54b518fc6671 diff -r f5e55f1ca927 -r 37c4ce51a12d mercurial/httprepo.py --- 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: