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

Re: Server-side ignore

From: Matheus Leite <matheus_at_longadata.com>
Date: 2006-07-12 04:50:20 CEST

Thanks for your response. I read the hook section in the svn book, and
it warns to not modify the transaction. Does this mean that, instead
of having the server ignore certain files and folders matching a
pre-defined pattern, the correct approach would be to cancel the
transaction and tell the user he must set the svn:ignore property
himself?

Matheus

On 7/11/06, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 7/11/06, Matheus Leite <matheus@longadata.com> wrote:
> > I would like to ignore certain files and folders (e.g., "/target") on
> > every existing and future project on my repository. I know I can tell
> > everyone on my team to use local properties but I am afraid someone
> > will eventually forget and commit an unwanted file or folder.
> >
> > Is there a way to configure this on the server? What is the correct approach?
>
> By implementing a pre-commit hook which rejects commits which includes
> those targets. You'll have to install the pre-commit hook in every new
> repository though after you created it.
>
> bye,
>
> Erik.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 12 04:51:28 2006

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