[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Use stderr for error messages

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-02 16:45:29 CEST

Eric Gillespie <epg@pretzelnet.org> writes:
> While working on issue 774, i noticed that svn sometimes prints
> error messages to stdout instead of stderr. I have attached a
> patch to fix this.

Heh. This theme never seems to die:

   ------------------------------------------------------------------------
   rev 657: kfogel | Mon, 17 Dec 2001 14:15:08 -0600 | 3 lines
   
   * subversion/client/cmdline/main.c (main): Handle errors to stderr,
   not stdout. Why weren't we doing this before?
   ------------------------------------------------------------------------

(That change was about a different part of the code, though; the part
that you're patching now didn't exist in rev 657 as far as I know.)

I've applied your patch to clients/cmdline/main.c; agree with Branko's
comments about how the tests should indeed be printing to stdout.

Thanks!

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 2 16:55:05 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.