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

Re: Can I have one post-commit script for all my repositories?

From: Matt imMute Sickler <immute_at_msk4.ath.cx>
Date: Tue, 11 Mar 2008 10:13:54 -0500

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

I see you said you don't want to copy the hook all around, nor do you
want to use symlinks. I should mention that that is not possible.
Using symlinks is by far the easiest solution.

Otherwise, you could write a small wrapper hook that calls the main
hook, but you would have to copy that around anyway, so it kind of
defeats the purpose.

---------------------------------------------------------------------
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:33:46 CET

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