From: Junio C Hamano Date: Tue, 02 Apr 2013 19:58:38 GMT Subject: Re: [PATCH 07/13] remote-hg: redirect buggy mercurial output Message-ID: <7vehesd7rl.fsf@alter.siamese.dyndns.org> In-Reply-To: <1364929382-1399-8-git-send-email-felipe.contreras@gmail.com> Felipe Contreras writes: > We can't use stdout for that in remote helpers. > > Signed-off-by: Felipe Contreras > --- You may want to clarify "buggy output" a bit. Will mercurial forever be broken? Some versions of Hg emit [[[it is unclear for Junio to tell what it is to fill this blank]]] to its output that we want to ignore? > contrib/remote-helpers/git-remote-hg | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg > index b200e60..874ccd4 100755 > --- a/contrib/remote-helpers/git-remote-hg > +++ b/contrib/remote-helpers/git-remote-hg > @@ -271,6 +271,7 @@ def get_repo(url, alias): > > myui = ui.ui() > myui.setconfig('ui', 'interactive', 'off') > + myui.fout = sys.stderr > > if hg.islocal(url): > repo = hg.repository(myui, url)