# HG changeset patch # User Matt Mackall # Date 1306275391 18000 # Node ID c59968e8b57933f392626c2a1ff178ddb9b94ee6 # Parent 4e958f2a193fb1ceb3c4aee00da7ab1d1ffbea09 httprepo: send URL redirection notices to stderr (issue2828) diff -r 4e958f2a193f -r c59968e8b579 mercurial/httprepo.py --- a/mercurial/httprepo.py Mon Mar 07 14:47:30 2011 +0100 +++ b/mercurial/httprepo.py Tue May 24 17:16:31 2011 -0500 @@ -102,7 +102,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')