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.
Regards,
//Peter
---------------------------------------------------------------------
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