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

Re: flag to disable hook scripts

From: Renaud Waldura <renaud+subversion_at_waldura.com>
Date: 2006-01-31 19:09:13 CET

> Is there any way to provide a flag to svn to tell it not to run a
> certain/all hook script(s) ?

Not that I'm aware of.

It sounds to me like you're using the wrong tool for the job. Instead of
writing a hook that does this on every commit, but not write a batch script
that does it every hour instead?

I don't know whether the post-commit hook is synchronous, but it wouldn't
surprise me if it were. Depending how much documentation you have to
generate, it could take a while... therefore blocking your commit.

(And if you fork your documentation generator, then how do you deal with
synchronization issues?)

----- Original Message -----
From: "Alessandro Ferrucci" <aferrucci@tresys.com>
To: <users@subversion.tigris.org>
Sent: Tuesday, January 31, 2006 7:35 AM
Subject: flag to disable hook scripts

> I'm setting up some hook scripts to run doxygen and create documentation
> for all checked in source-code and any time someone commits new code it
> would re-run doxygen to update the online docs. Sometimes though a commit
> will be 1 line change (the date on a changeLog perhaps) and at that time I
> do not want to run doxgen because it would waste resources.
>
> Is there any way to provide a flag to svn to tell it not to run a
> certain/all hook script(s) ?
>
> Thank you
>
> Alessandro Ferrucci
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 31 19:14:58 2006

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.