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

Re: Can I set hook script based on project/folder?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-28 03:49:28 CEST

On 8/27/07, Rex Zhen <rexzhen@yahoo.com> wrote:
> As i know, all hook scripts locate under HOOK folder under
> repository. the script post-commit will run when ever a commit to
> the repository happen. How can I specify the project which is not
> physically in the file system.

Use svnlook changed to find out what paths changed in the repository,
and then if the commit acts upon the directory(ies) which you want it
for, have it take action. Otherwise, have it do nothing.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 28 03:46:57 2007

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