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

svn update locking entire directory tree

From: Leighton, Sean <Sean.Leighton_at_sciatl.com>
Date: 2007-06-29 18:45:27 CEST

Hi,

 

I'm encountering a strange issue. I have a global working directory tree (which I call the mirror) which is automatically updated by a post commit hook anytime someone commits files to the svn repository. Now I don't update the entire tree, but rather the post commit script determines the directory that the user committed the file to and then updates solely that directory in the mirror. This was working fine, but now on one specific directory, whenever anyone does a svn commit to that directory, when the update happens in the mirror, svn starts locking every file in the entire directory structure, not just solely in the one specific directory that it should update, then some timeout appears to occur after ½ an hour and then the update completes. So, to provide a little more description, I have the structure

 

/mirror/proj1

/mirror/proj2

/mirror/proj3

/mirror/bin

 

When files are committed to proj1/2/3 everything is fine and updates happen in less than a second. When files are committed to /bin, then locks on all files in the mirror occur and then it takes ½ an hour for the update to complete. I've tried svn cleanup and blowing away the bin directory and updating the whole thing from the repository, but that doesn't seem to work. Any thoughts?

 

Sean

 

     - - - - - Appended by Scientific Atlanta, a Cisco company - - - - -
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is solely
intended for the named addressee (or a person responsible for delivering it to
the addressee). If you are not the intended recipient of this message, you are
not authorized to read, print, retain, copy or disseminate this message or any
part of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
Received on Fri Jun 29 18:45:42 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.