File Locking Question...
From: BRM <bm_witness_at_yahoo.com>
Date: Thu, 6 Nov 2008 07:50:46 -0800 (PST)
I haven't really tried to use the File Locking feature of SVN before; however, I've run into a situation where I would like to use it and want to clarify that I am understanding the functionality correctly.
I have a branch in my repo that I cut over from CVS (cvs export -> svn import). I am slowly decomposing the branch into a series of separate projects in SVN; however, I have current software that is being released from the cut over branch that depends on the parts I am moving around, and I can't move a particular project until all its dependencies have been moved. Furthermore, many of the projects have overlapping dependencies (e.g. projects A and B both use project C).
As I move a project out of the cut over, I would like to be able to control the edits that go into it - primarily to either sync them with the cutover, or force the updates to it. (I'd rather for the update to it, but that's an internal issue here - not something SVN can resolve easily.) I figured I could use the locking mechanism to achieve this by locking the tree as I moved stuff (using a special checkout for just that purpose) - e.g. move project C to new home, and then lock the old location for project C.
However, I've noticed a failure in checkout, and wanted to ensure that my locking wasn't the cause.
So, to get to the end of all this (aside from suggestions for a better way to do this - all are welcome)...
Locking any part of a tree should not prohibit someone else from updating to (or checking out) the latest checked in revision, correct?
TIA,
Ben
---------------------------------------------------------------------
|
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.