##// END OF EJS Templates
httprepo: send URL redirection notices to stderr (issue2828)
Matt Mackall -
r14504:c59968e8 stable
parent child Browse files
Show More
@@ -102,7 +102,8 b' class httprepository(wireproto.wirerepos'
102 if resp_url.endswith(qs):
102 if resp_url.endswith(qs):
103 resp_url = resp_url[:-len(qs)]
103 resp_url = resp_url[:-len(qs)]
104 if self._url.rstrip('/') != resp_url.rstrip('/'):
104 if self._url.rstrip('/') != resp_url.rstrip('/'):
105 self.ui.status(_('real URL is %s\n') % resp_url)
105 if not self.ui.quiet:
106 self.ui.warn(_('real URL is %s\n') % resp_url)
106 self._url = resp_url
107 self._url = resp_url
107 try:
108 try:
108 proto = resp.getheader('content-type')
109 proto = resp.getheader('content-type')
General Comments 0
You need to be logged in to leave comments. Login now