[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:28:00 +0100

You can also skip step 2 and change step 4 to:

Step 4: Link the script in new_repos/hooks/ so it keeps up to date with the master script. (Linux: ln -s <path-to-global_svn_scripts>/<scriptname> <path-to-new-repos/hooks/<script-name>


Nick S.

-----Original Message-----
From: Reedick, Andrew [mailto:jr9445_at_ATT.COM]
Sent: Tue 3/11/2008 16:17
To: Dyrson Rodrigues; users_at_subversion.tigris.org
Subject: RE: Can I have one post-commit script for all my repositories?
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.




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:49:00 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.