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

RE: SVN Question

From: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Wed, 5 Aug 2015 01:24:36 -0700 (PDT)

On 5/08/2015 05:42, AAPowers quoth:
> Supposed we have 10 different MS WORD documents in the same folder and
> multiple engineers could access those documents and work on them at any
> time. Is there a good way to automatically laert other uses that a specific
> document is opened by another user? We have been using the "GET LOCK"
> command however this requires that users update their repo-browser to see
> locks.



In particular, note that you can mark particular files (or via auto-props, particular file patterns, such as .docx files) as requiring locks, which means that they're read-only until you request a lock.

When someone requests a lock, it will check with the server that nobody else has the lock yet, so it doesn't matter if their version isn't up to date at the time.

It's not foolproof, of course -- someone could set their local file back to read-write and modify it anyway. But then they'll get a conflict when they try to commit, so they should quickly learn to not do that.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-08-05 10:24:44 CEST

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