[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

From: Marcos Chaves <marcos.nospam_at_gmail.com>
Date: 2006-09-15 17:46:32 CEST

Hi Allan.

>> I'm trying to create a pre-commit hook that only allows the commit of

> we do it in a post-commit.

But what do you do if the check that you perform fails? A transaction
that is invalid by your criteria was just commited.

I think that you decided for the post-commit because then you can
easily extract the new directory structure just commited to perform
a check that can handle the file dependencies. I'll try to do
something similar on the pre-commit phase, because I want to block
the commit if the transaction is invalid based on my criteria.

Thanks all for the ideas.

-Marcos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 17:47:15 2006

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.