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

Copying hooks automatically upon repository creation

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Mon, 4 Oct 2010 10:51:58 -0700

We use one repository per project. All repository lives in /var/lib/svn/.

Also we use the hooks post-commit and pre-commit for every repository. Right
now we have to manually copy these two hooks whenever a new repository is
For example:
cd /var/lib/svn/
cp /path-to-my-hooks/* projectA/hooks
 cp /path-to-my-hooks/* projectB/hooks
 cp /path-to-my-hooks/* projectC/hooks

Is there any way to automate this process?
Received on 2010-10-04 19:52:38 CEST

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