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

Re: repository-wide global ignores (FAQ?)

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-02-10 17:41:30 CET

On Thu, 2005-10-02 at 11:30 -0500, Jay Berkenbilt wrote:
> I checked both the svn book and the FAQ before asking this question,
> and I'm quite surprised that I didn't find an answer to it in one of
> those places. Hopefully I didn't just overlook it. :-)

Maybe it's time to make a search function for the FAQ. I guess
<ctrl>-F isn't good enough as the page grows.

> In CVS, you can place a file called cvsignore in your repository's
> CVSROOT directory. This because a global ignore list for the entire
> repository. I can't find any equivalent of this in subversion. I see
> /etc/subversion/config can have a global-ignores keyword, but this
> appears to be a host-specific setting, not a repository-specific
> setting, and it appears to impact the client than the server. It also
> appears that the svn:ignore keyword doesn't work recursively, which is
> not at all surprising since the semantics of how to make this
> reasonable are not at all clear.
> So.... is there a way to create global ignores that are
> repository-wide?

You can on the client. See:

You can write a pre-commit script to reject a transaction that contains
a file to be ignored at the repository gateway. This causes the entire
commit to fail until the ignored file is removed from the transaction.


Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
11:37:37 up 16 min, 2 users, load average: 0.03, 0.13, 0.19 

Received on Thu Feb 10 17:43:14 2005

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.