svn update locking entire directory tree
From: Leighton, Sean <Sean.Leighton_at_sciatl.com>
Date: 2007-06-29 18:45:27 CEST
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
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?
- - - - - Appended by Scientific Atlanta, a Cisco company - - - - -
This is an archived mail posted to the Subversion Users mailing list.