Mercurial > hg
changeset 14428:f0c43c63f742
httprepo: send URL redirection notices to stderr (issue2828)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 24 May 2011 17:16:31 -0500 |
parents | 9d4cabd189df |
children | c4c5e3802e9c |
files | mercurial/httprepo.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/httprepo.py Tue May 24 19:17:22 2011 +0300 +++ b/mercurial/httprepo.py Tue May 24 17:16:31 2011 -0500 @@ -127,7 +127,8 @@ if resp_url.endswith(qs): resp_url = resp_url[:-len(qs)] if self._url.rstrip('/') != resp_url.rstrip('/'): - self.ui.status(_('real URL is %s\n') % resp_url) + if not self.ui.quiet: + self.ui.warn(_('real URL is %s\n') % resp_url) self._url = resp_url try: proto = resp.getheader('content-type')