On Fri, 8 Apr 2005, Julian Foad wrote:
> Jim Correia wrote:
> > Is (our should) subversion be consistent about returning non-zero exit
> > codes when an operation failed?
>
> Yes, absolutely it should, and I believe it is pretty consistent. Any
> deviation is a bug.
>
...
> > However, if I attempt to lock a file that is locked in another working
> > copy, it fails with an error message, but the exit code is 0.
>
> Bug. Thanks for reporting it.
>
What should we return if some locks are successfully acquired and some
not? The reason this happens is because it is handle by the notification
system. I think the same happens for a failed revert, but I haven't
tested. Don't we have other commands that will just print an error message
and continue?
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 8 22:16:50 2005