RE: Checking out files/folders
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 9 Feb 2011 16:33:20 -0500
> If I want to check out one file only, can I do that without
I'm not sure what you are asking here.. I see two questions:
1. How can I check out a single file?
There isn't really a way to check-out a single file. But, you can check out the folder which contains that folder using a checkout depth of "Only the item" (empty) depth. Then you can right click on that folder and select "repo-browser" right click the file you want to check out and select "update item to revision". There you go, a single file checked out, sort of.
2. Why can others modify files I have checked out?
As far as item two... svn uses "optimistic locking" meaning that multiple users can have files/projects checked out. When you try to commit a change svn verifies that you have the most up to date version of that file as your BASE version. If you don't, it shows a commit error and you have to do an "update" prior to doing the commit. The "update" will merge the changes in the repository that you don't have yet, with your local file. If there are conflicts (you edited the same line that someone else has changed) you will get a merge conflict which you must resolve.
Hth,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.