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:
http://subversion.tigris.org/faq.html#ignore-commit
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.
http://svnbook.red-bean.com/en/1.0/ch05s02.html#svn-ch-5-sect-2.1
Cheers,
Chris
--
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
http://www.fsf.org/philosophy/no-word-attachments.html
Received on Thu Feb 10 17:43:14 2005