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

Re: "svn lock" process return code (Subversion 1.2 RC2 Win32)

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-07 13:15:16 CEST

On Wed, 4 May 2005, Henrik Blomgren TACMa wrote:

>
> When attempting to lock a file already locked by another user, I get the
> error message in stderr, but the exitcode of the process is 0, indicating
> success. Bug or ?
>
It might be considered a bug, but it's not clear to me how to treat this.
The problem is that this operation treats certain errors as non-fatal and
continues. So if you say
svn lock a b
and a was already locked, it continues with b. If the latter lock
operation succeeds, should it return success or failer? Maybe someone on
dev@ has an opinion.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 7 13:10:02 2005

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