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

Re: Please clarify hooks

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-10-10 20:02:05 CEST

"Ben Collins-Sussman" <sussman@red-bean.com> writes:
> [moving to dev@subversion.tigris.org]
> Sounds like the text within post-commit.tmpl itself should be
> clarified. There's an explicit paragraph in the template that says
> "on windows, you should name the hook script post-commit.bat or
> post-commit.exe", but there's no text which says "on unix, this file
> (or whatever hook script you use) must be named 'post-commit' and be
> executable."
> Book wording aside, this seems like a really easy change to the
> default post-commit.tmpl text. Should we file an enhancement issue?

The first paragraph (and others) of all the .tmpl files states this
pretty clearly. In libsvn_repos/repos.c, search for "SCRIPT_NAME" --
*with* the double-quotes -- to see what I mean.

Occasionally, a user may miss the point, by reading too fast or
whatever, but we can't prevent that in general. I don't feel a
rewrite is warranted.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 10 20:02:27 2007

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.