The Lock-Modify-Unlock Solution

20 views
Skip to first unread message

Mario

unread,
Sep 15, 2018, 12:42:10 PM9/15/18
to TortoiseSVN

Dear Sirs,

I have a question for you on The Lock-Modify-Unlock Solution: https://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-basics-versioning.html

If Harry blocks the file, Sally can not lock the file and therefore can not edit it. Sally can still check out for a local copy of the read-only file.

Right?

Thank you

Best regards


Stefan

unread,
Sep 15, 2018, 3:44:25 PM9/15/18
to TortoiseSVN
Yes, that's right.
If Harry has locked the file, Sally would get an error if she tries to edit the file.
But of course, Sally will usually already have checked out the whole working copy with that locked file, so she can read the file just fine. Only editing is blocked since the file is marked as readonly.

Stefan

Mario

unread,
Sep 15, 2018, 4:44:28 PM9/15/18
to torto...@googlegroups.com
Hi, thank you.

So, Sally can get a copy of the read-only file (check out) even while Harry is editing his copy. Right?

Stefan

unread,
Sep 16, 2018, 6:22:56 AM9/16/18
to TortoiseSVN


On Saturday, September 15, 2018 at 10:44:28 PM UTC+2, Mario wrote:
Hi, thank you.

So, Sally can get a copy of the read-only file (check out) even while Harry is editing his copy. Right?

Yes, Sally can check out the file, but it will be read-only.

Stefan
Reply all
Reply to author
Forward
0 new messages