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

syntax checking before commit; possible ?

From: J. Bakshi <joydeep_at_infoservices.in>
Date: Mon, 12 Oct 2009 12:47:42 +0530

Dear list,

My post-commit hook is running well and automatically update the
concerned htdocs directory so that the change can be reflected in
apache whenever a commit is applied. Sometimes there are some syntax
error in the php file and as a result the successful commit cause error
in apache level. Obviously it is not a svn related issue; but it would
be great if a mechanism is there to check the syntax before committing
and deny the commit if there is any such syntax error. I don't know the
actual process but is there anything which can be done through a hook
maybe pre-commit hook ?
Please enlighten me.
Thanks

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406530

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-12 09:19:56 CEST

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