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

Re: Can I prevent a file from being modified?

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 21 Jul 2011 11:06:00 -0400

I have a pre-commit hook that allows you to set a directory as
"add-only". This was mainly for the tags directory. You can create a
tag, but once created, it can't be modified.

This should fit well in your process. You can give it a try. I've just
done a major rewrite that is more object oriented and allows you to
use LDAP groups for file permissioning. However, this link is to the
old tried and true version.

<http://db.tt/H3o1i7S>

You'll need Perl on your Subversion repository server to run this, but
you shouldn't need any optional CPAN modules.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2011-07-21 17:06:34 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.