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

Re: [PATCH] start-commit and pre-commit hook tests

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-03-28 22:41:23 CEST

Martin Furter wrote:
>
> Hello
>
> Here are another two tests to complete the (commit) hook tests.
>
> Unfortunately svn outputs lines like the following one:
> 'subversion/libsvn_client/commit.c:871: (apr_err=165001)\n'
>
> They contain line numbers which can change. I solved that problem by
> just cutting them away since only the last two lines of stderr are
> relevant.
Normally we check the error messages with regular expressions, so we can
just catch a few keywords. The compare_and_display_lines function
doesn't support that though, so this approach is okay.

The patch looks good, committed in r24240.

thx,

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 28 22:41:51 2007

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