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

Re: Using Ant to do greps for pre-commit hook

From: <kfogel_at_collab.net>
Date: 2004-10-13 05:55:20 CEST

"R Smith" <onilollaig@hotmail.com> writes:
> Hi. I am trying to write a pre-commit hook script that will call Ant
> and do some grep tasks. Basically, I want to make sure that the log
> message contains certain information, and I would like to be able to
> do this with Ant. Is there a straightforward way to accomplish this?
> Thanks for any help.

I don't know anything about using Ant, but you can use

   svnlook log -t ${TXN} ${REPOS}

to get the log message (you maybe already knew that).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 13 07:44:43 2004

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

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