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

RE: svn commit: r38790 - trunk/subversion/libsvn_wc

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Tue, 18 Aug 2009 10:03:17 +0200

> -----Original Message-----
> From: Hyrum K. Wright [mailto:hyrum_at_hyrumwright.org]
> Sent: maandag 17 augustus 2009 23:37
> To: svn_at_subversion.tigris.org
> Subject: svn commit: r38790 - trunk/subversion/libsvn_wc
>
> Author: hwright
> Date: Mon Aug 17 14:37:01 2009
> New Revision: 38790
>
> Log:
> Don't require an access baton for entries_write(). Although we still
> retrieve
> one internally, that's not reason the API has to have the access baton.

Note that the caller should have obtained some kind of working copy lock, before calling this function!

This leaves the door open to just writing to the wc-database without any usefull locking, which will break when you have more than one subversion client at the same time.

A very very VERY (is 3 times enough?) common situation outside our test suite.
 

Other note: I see about 120 test failures on the Windows buildbot after this commit, while the buildbot was green before. (Testing locally to see if this makes a difference)

        Bert

(I won't be online on IRC this afternoon; I will probably see my mail on my mobile phone every now and then).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2384648
Received on 2009-08-18 10:03:02 CEST

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