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

Re: svn commit: r958908 - in /subversion/trunk/subversion: libsvn_wc/lock.c tests/libsvn_client/client-test.c

From: Greg Stein <gstein_at_gmail.com>
Date: Sat, 3 Jul 2010 15:20:49 -0400

On Tue, Jun 29, 2010 at 06:03, <rhuijben_at_apache.org> wrote:
> Author: rhuijben
> Date: Tue Jun 29 10:03:22 2010
> New Revision: 958908
>
> URL: http://svn.apache.org/viewvc?rev=958908&view=rev
> Log:
> Add a c test to verify that we keep svn_wc_add3() compatibility working
> when we move our own code in libsvn_client to a better route.
>
> * subversion/libsvn_wc/lock.c
>  (adm_access_alloc): Allow obtaining an access baton with lock for a node
>    that is already locked in the same svn_wc__db_t instance.

Eh? No... applications should know which nodes are locked. An attempt
to lock the node again *should* fail. The app must use probe/retrieve
or somesuch to fetch the access baton. (see the comment in
svn_wc_adm_open3)

>...

Cheers,
-g
Received on 2010-07-03 21:22:29 CEST

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