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

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

From: <nicklist_at_planet.nl>
Date: Tue, 11 Mar 2008 16:44:55 +0100

And another solution would be to symlink the hooks directory, so any file in there is in all repositories. Exactly what you want.

With regards,

Nick S.

-----Original Message-----
From: Matt imMute Sickler [mailto:immute_at_msk4.ath.cx]
Sent: Tue 3/11/2008 16:13
To: Dyrson Rodrigues
Cc: users_at_subversion.tigris.org
Subject: Re: Can I have one post-commit script for all my repositories?
 
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:46:45 CET

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.