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

Re: Keeping stuff out of my repository?

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 30 Oct 2008 14:35:34 -0400

Have you looked at the svn:ignore property? Putting this on your
directory will cause that directory to ignore files fitting that
pattern. Of course, you need to do this with each directory.

If you use a pre-commit hook to filter out these files, simply reject
the whole transaction with an explanation. The developer would then
have to delete the culprits, and then resubmit the transaction.
They'll quickly learn to follow your directions about creating client
side ignore rules.

David Weintraub
On Thu, Oct 30, 2008 at 12:00 PM, caston first <castonfirst_at_yahoo.com> wrote:
> I am administering a repository for a group of developers who are too lazy
> to follow instructions that provide a standard value for the client-side
> svn-ignore setting.  As a result, I am continually removing compiler cruft
> from the repo!
> The clients in use vary - so far just TortoiseSVN, Subclipse and the command
> line client.
> Is there ANY way I can enforce my repository's ignore rules?  I know it's
> kind of a mainframe mentality but the added hassle is just driving me
> insane...
> Thanks,
> Caston
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-30 19:35:58 CET

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.