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

Re: WELCOME to users@subversion.apache.org

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 15 Jun 2011 12:11:32 -0500

On Jun 15, 2011, at 10:23, Matt Dorsch wrote:

> Is there a way to specify that a file in the repository is
> "constant"? By this, I mean it should not be changed, except by
> deletion.

If you want to prevent people from committing changes to a file, you can do that by writing an appropriate pre-commit hook. You can't prevent people from changing files in their own working copies, but you can at least prevent those changes from getting committed into the repository.

> For a file like this, I would like the
> .svn/text-base/*.svn-base file to *not* be created.

There is no option for this to happen, though it has been requested before:

http://subversion.tigris.org/issues/show_bug.cgi?id=525

There is also the request to allow the text-base to be stored compressed, which would also help a lot with disk space on the client side:

http://subversion.tigris.org/issues/show_bug.cgi?id=908
Received on 2011-06-15 19:12:08 CEST

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