[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: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-03-03 15:31:48 CET

On Thu, 3 Mar 2005 14:13:06 -0000, Peter Howe
<Peter.Howe@uk.linedata.com> 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.

You could write a pre-commit hook that rejects any commits that
contain files you do not want to be added.

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 3 15:34:23 2005

This is an archived mail posted to the Subversion Users mailing list.