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

Re: commit: affected paths in commit hooks

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 10 Jun 2010 11:36:03 +0200

Winston Smith wrote:
> I am trying to pass down the paths that are affected by a commit down to the
> commit hooks. My question is how can I detect these paths?

Use the svn_fs_paths_changed() interface. There are plenty of examples of
this to be found. Here's one:
http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/validate-extensions.py

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-06-10 11:37:21 CEST

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.