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

Re: Ignore files/folders server side

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Thu, 27 Mar 2008 05:18:30 -0500

On Mar 27, 2008, at 04:12, Darrell Blake wrote:

> Is there any way I can tell my svnserve daemon to ignore files/
> folders?
>
> At the minute if I right click on the root folder in TortoiseSVN and
> choose Add it displays all the files from the root down that aren't
> under source control. Obviously, there's a lot of these that don't
> want to be added. Object files, built executables etc.
>
> I can only find documentation on ignoring files and folders client
> side. The problem with this is that I would have to go to every user's
> TortoiseSVN (or standard SVN client) and put the ignore rules in.
>
> Surely there's a way to have a global ignore rules list on the server
> that all clients would adhere to?

There is not. You must configure it on every client.

If you like, you can write a pre-commit hook which rejects the commit
of any type of file that you never want to have in the repository. In
the error message printed by such a hook, you can inform your users
how to configure their clients properly, for example by directing
them to a pre-made config file that matches your specifications.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-27 11:27:51 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.