Dyrson Rodrigues wrote:
> I have a post-commit script running fine for one repository. I'd like to
> have it executing for all my repositories. And I do not want to copy it
> to all hooks subdirectories(and don't want do create links either).
>
> I notice the existence of a hooks directory in the root installation
> directory of subversion. I put the script in this directory expecting
> that it would run for all repos, but it doesn't.
>
> So this is my question. Is there a way to have one post-commit script
> running for all repositories?
>
> Thanks in advance.
>
> Dyrson
Of course, just put your post-commit hook in, for example,
/var/svn/hooks/standard-post-commit
Then for each repository ($REPO):
ln -s /var/svn/hooks/standard-post-commit $REPO/hooks/post-commit
Or something like this.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-11 16:53:11 CET