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

Re: Hook script context

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-12-18 15:27:46 CET

peter fiksman wrote:
> if there are many project folders in one rep, is it possible to distinct
> between commits on them in the hook script context?

Of course:

$ svnlook help changed
changed: usage: svnlook changed REPOS_PATH

Print the paths that were changed.

Valid options:
   -r [--revision] arg : specify revision number ARG
   -t [--transaction] arg : specify transaction name ARG
   --copy-info : show details for copies

Or you could use tools written specifically to handle multiple actions
based on changed paths:

        http://search.cpan.org/search?query=SVN::Notify::Config
        http://search.cpan.org/search?query=SVN::Notify::Mirror
        http://search.cpan.org/search?query=SVN::Notify

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 18 15:28:32 2007

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.