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

Re: Different colors in the commit dialog

From: Cory Trese <cory.trese_at_gmail.com>
Date: Tue, 17 Jun 2008 14:41:39 -0400

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.