You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nadeem Bitar <na...@gmail.com> on 2005/12/19 10:03:05 UTC

per project hook script?

Hi,  I have a subversion repository with multiple projects and I've been
trying to invoke a post-commit hook for only specific projects. I might have
missed it but i couldn't find an easy to do that. Is this possible?

Thanks.

Re: per project hook script?

Posted by Stephane Bortzmeyer <bo...@nic.fr>.
On Mon, Dec 19, 2005 at 02:03:05AM -0800,
 Nadeem Bitar <na...@gmail.com> wrote 
 a message of 20 lines which said:

> Hi, I have a subversion repository with multiple projects and I've
> been trying to invoke a post-commit hook for only specific
> projects. I might have missed it but i couldn't find an easy to do
> that. Is this possible?

I believe that the only way is to use svnlook from the post-commit
hook to find out what changed and to dispatch accordingly.

(Remember that Subversion does not know what a project is and that a
commit can span several directories, for instance /project1/something
and /project2/otherthing.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org