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

Re: "svn info" good return code on bad URL

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-10-11 22:04:47 CEST

On Tue, 11 Oct 2005, Julian Foad wrote:

> Greg Hudson wrote:
> >
> > That seems overly final. We could change our code to return exit status
> > 1 if there was a warning, or perhaps if no targets succeeded.
> >
> Therefore, subject to further views on the matter, I propose we change
> to that system.
+1. I think Karl's approach, only distinguishing between 0 and non-zero is
reasonable. The complaints I've seen about this is that warnings produce
zero exit. I haven't heard anyone who wants to make a difference between
error and warning.

> Implementation details: this won't be trivial because we'll need to keep
> track of warnings that are, I think, in some cases produced down in the
> libraries. It might not be difficult, though.
The only thing that prints things to stderr s the cmdline client, and it
should know when something is a warning. Some warnings are produced by the
notification system, but that's also under the cmdline client's control.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 11 22:07:15 2005

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.