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

Re: Resend: Output from post-commit hook

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-14 02:12:06 CET

On Nov 12, 2004, at 10:28 PM, Erik Williamson wrote:
>
> A 'make verify' runs first which determines if it's valid XML; if it
> isn't they need to know that they've messed up and that the
> appropriate servers will not be updated.
>

If 'make verify' is so quick, then here's a better idea: run that
command in a pre-commit hook. If the verification fails, the entire
commit is rejected. That's real enforcement. (And also: the
pre-commit hook actually returns 'stderr' output to the user.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 14 02:12:46 2004

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.