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

why lines of hooks?

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-08 23:40:55 CEST

Euh... I don't understand why the repos/conf/*.txt files are *text* files
containing lists of programs to invoke for the hooks. Why aren't they simply
shell scripts? IOW, why the indirection?

If the repos/conf/ files are simple shell scripts, with $1 and $2 and
whatnot as the arguments, then they can invoke any number of further
programs or scripts.

That would simplify a bunch of code, reduce the "semantic overhead" of the
hooks, etc.

Is there a specific reason for the current setup? Or just following the
legacy of CVS? :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:35 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.