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

Re: How to automatically run some test when check-in

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Sat, 12 Jun 2010 05:01:41 -0500

On Jun 12, 2010, at 04:55, Kevin Wu wrote:

> I want to try svn hooks first.
>
> After reading the documentation, I still don't know how to get the filename and its path of the file being committed when the post-commit hook fires.
>
> The post-commit hook just has two arguments:
>
> 1. Repository path
> 2. Revision number created by the commit

You feed the repository path and revision number to "svnlook changed".
Received on 2010-06-12 12:02:29 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.