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

Re: Re: get lock automatically when open file

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 1 Feb 2010 06:30:07 -0500

On Mon, Feb 1, 2010 at 03:08, neotm <neotm_at_gmx.net> wrote:
> I want to use SVN for binary ECEL and WORD files. If automatically get lock works, I don't have the problem, that two persons can work on the same file.
> I think it is a nice feature for working with binary files.

As Simon explained, opening a file can't be interrupted in the way
that would be needed to do this without causing other problems. Plus,
you'll be locking a lot of files unnecessarily - don't you ever open
files to look at them, with no intention of editing them? I don't know
that there's any way to detect when an application is finished with a
given file without getting an exclusive lock at the filesystem level,
so you'd have to manually unlock the files every time.

Set svn:needs-lock on your files and leave it at that.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2443768

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-01 12:30:17 CET

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.