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

Re: RFC: svnadmin load --use-commit-hooks

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-02-04 15:48:16 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> On Feb 3, 2005, at 11:12 PM, Marcus Rueckert wrote:
>
> > On 2005-02-03 22:33:02 -0600, C. Michael Pilato wrote:
> >> --use-pre-commit-hook and --use-post-commit-hook.
> >
> > --use-hooks=[pre|post|both|pre,post]
> >
>
> Why so complex? Why not just one switch to execute all hooks or
> not?
>
> If you want certain hook scripts *not* to run, why not just move them
> out of the repository temporarily?

Because not all 'svnadmin load's occur while a repository is offline.
For example, if the ASF is merging in another cvs2svn'd project
dumpfile, they certainly wouldn't shut down operations across the
board while that load happens. (Would they?) So, moving the script
out of the way is not an acceptable solution. (But I still think
having two distinct options is nicer than having one with a ternery
value.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 4 15:52:02 2005

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