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

Re: Server-side file ignores

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-03-04 11:22:36 CET

Peter Howe wrote:
> Hi All
>
> I know that there is the client-side "global-ignores" option which
> can be put into /etc/subversion/config in order to have SVN ignore
> certain files in users' working directories. However, I'd like to
> control this from the server (i.e. for all users, ensure that
> certain files are ignored - regardless of which client machine they
> are working on.)
>
> Is there a facility for this that I'm unaware of - and if so, is it
> possible to restrict it by directory? (e.g. under myrepos/src
> ignore .o but under myrepos/objs don't ignore .o). That's a
> contrived example by the way.

   Well, you can't filter items out of a commit, but you could certainly
   write a pre-commit hook to reject a commit that contained an item
   you don't want to see in your repository. Combine the "optional"
   ignores on the client side with the enforcement at commit time and
   you should get pretty close to what you want.

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 4 11:26:48 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.