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

Re: [svn] viewing of html files via browser

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-30 14:19:05 CEST

On 8/30/07, Mark Reibert <svn@reibert.com> wrote:

> > Maybe we can do it in hooks but I'm not that familiar with setting up
> > hooks yet :)
> This would not be advisable as there are subtle but important reasons to
> not modify a transaction in a pre-commit hook. Check out the link below
> and scroll down to the pink warning box.
> http://svnbook.red-bean.com/en/1.4/svn.reposadmin.create.html#svn.reposadmin.create.hooks

True, but that doesn't mean you can't have the hook inspect the files
being committed, and reject the commit if the mime-types haven't been
applied (with an appropriate message back to the user).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 30 14:16:27 2007

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