[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: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Tue, 11 Mar 2008 10:17:47 -0500

Have the commit script in each hook directory call a global script.

 

Step 1: Create the real scripts in a global dir. /global_svn_scripts

Step 2: create a master hooks directory (/master_hooks) containing the
hook scripts (that point to the global dir)

Step 3: Create a repos, new_repos

Step 4: copy master_hooks/* new_repos/hooks/.

 

 

 

 

From: Dyrson Rodrigues [mailto:dyrson_at_pbh.gov.br]
Sent: Tuesday, March 11, 2008 11:01 AM
To: users_at_subversion.tigris.org
Subject: Can I have one post-commit script for all my repositories?

 

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

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625
Received on 2008-03-11 16:19:01 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.