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