On Tue, Jun 17, 2008 at 2:29 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Tue, Jun 17, 2008 at 2:26 PM, sangeeth jagadish
> <sanioautoz_at_yahoo.co.in> wrote:
> > Thanks in advance
> > Iam implementing svn pre-commit hooks to check whether the code checked
> in
> > is devoid of checkstyle errors and other coding standard errors.
> >
> > When ever there is error in checkstyle or a warning i get a error action
> in
> > the dialog
> >
> > i need to customize the action to display error when checkstyle throws
> error
> > and warning in action when checkstyle throws warning.
> >
> > All the errors are displayed in red color in the dialog.Is there a way to
> > chenge the dialog color to blue,green etc..
>
> SVN hook scripts have only two return statuses - success and failure.
> If a message is sent back, the commit is considered to have failed.
>
>
Our hook scripts e-mail warnings and return only errors that should block
the commit.
My pre-commit hook script allows warning-generating code to be committed,
because it is sometimes OK/necessary, but e-mails the maintainer and the
commit owner about the warnings.
This discussion is not really Tortoise-SVN specific however, so I'll stop :)
--
Cory Trese
ph#: 937-609-9644
e-m: cory.trese_at_gmail.com
www: http://www.corytrese.com/
Received on 2008-06-17 20:41:51 CEST