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

Re: SVN Hook (pre-commit): How to send messages to the SVN-Client, when exit code is 0?

From: Stein Somers <ssomers_at_opnet.com>
Date: Fri, 18 Sep 2009 12:47:57 +0200

Ryan Schmidt wrote:
> On Sep 17, 2009, at 06:01, Daniela Waranie wrote:
>> i want to give the SVN-Client (the user) a hint, that his
>> commited .php
>> files has passed the PHP5 syntax check.
>
> A successful commit will have to serve as that notification.

Yes, and an unsuccessful commit could instruct the committer that, if they're
sure of what they're doing, they can add a comment with a keyword like
"IGNORE_PHP_SYNTAX" to the file, and commit again. Your hook script then sees
the keyword and lets the file through. Though I don't understand if or why
that's what you want.

-- 
Stein
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396351
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-18 12:48:47 CEST

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.