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

Re: exit codes and locking

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-08 22:20:17 CEST

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

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.