You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Darrell Blake <da...@gmail.com> on 2008/03/27 09:12:58 UTC
Ignore files/folders server side
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?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Ignore files/folders server side
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org