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

Re: Automatically requiring locks for binary files

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 14 Jan 2008 09:06:54 -0500

On Jan 14, 2008 8:55 AM, J. Christian Hesketh <ionchannels_at_gmail.com> wrote:
> Hi,
> We are using tortoise/CVS to manage mainly word documents, excel
> spreadsheets etc... (ie, binary files). We want to automatically require a
> lock for files with specific extensions (eg, .doc, .xls, .ppt etc...). Is
> there a way to do this automatically with tortoise?

This is the TortoiseSVN list, so either you're in the wrong place or
you've typo'd. I'll assume the latter.

Set the svn:needs-lock property on any file which requires locking.
You can do this automatically for new files as they're added by
setting an auto-prop in the *client* config file, but the user can
change/bypass/override this. If it's an absolute requirement, install
a pre-commit hook script to reject any commit containing files with
those extensions lacking needs-lock.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-14 15:06:59 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.