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

Re: Pre-commit hook to verify Perl syntax + build test

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-09-18 10:10:56 CEST

On 9/18/06, Peter Werner <l.svn@vasas.no-ip.org> wrote:
> > after checking out the code, you either allow the commit or disallow
> > it.
> No, not in the post-commit. You can do it in the pre-commit.
> BTW, is there anybody here who made a pre-commit check that tries to
> run a build (on trunk if it was changed) and reject the commit if build
> breaks? (I'm just about to write one.)

No, generally, commits are accepted and a continuous integration
process tests validity. If the build gets broken, the admin operates a
flocking device on the dev who committed that revision.

Seriously: why be so strict as to validate every commit a prio? You
can always roll back to the last working revision: you're using a VCS

> The code "checkout" (svnlook cat) part is the similar to perl syntax
> checking.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 18 10:11:39 2006

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