On Mon, Oct 4, 2010 at 13:51, Tech Geek <techgeek12...@gmail.com> wrote: > 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? >
Write a script to automate your repository creation process, and include copying hooks in that script.