[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: Toby Thain <toby_at_telegraphics.com.au>
Date: Thu, 30 Oct 2008 12:39:31 -0400

On 30-Oct-08, at 12:00 PM, caston first 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...

You can reject commits with a pre-commit hook. See the text of hooks/
pre-commit.tmpl in any repo.

--Toby

>
>
> 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 17:40:00 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.