subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tech Geek <techgeek12...@gmail.com>
Subject Copying hooks automatically upon repository creation
Date Mon, 04 Oct 2010 17:51:58 GMT
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
created.
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?

Mime
View raw message