Re: Copying hooks automatically upon repository creation

2010-10-08 Thread Tino Schwarze
On Mon, Oct 04, 2010 at 05:16:42PM -0700, Tech Geek wrote: > > sudo -u "$USER" ln -s ../../conf "$REPO" || exit $? > > sudo -u "$USER" ln -s ../../hooks "$REPO" || exit $? > > > I just realized that the above two commands will fail, if the repositories > are on a SMB/CIFS mounted share on the Linu

Re: Copying hooks automatically upon repository creation

2010-10-04 Thread Tech Geek
Ryan, > sudo -u "$USER" ln -s ../../conf "$REPO" || exit $? > sudo -u "$USER" ln -s ../../hooks "$REPO" || exit $? > I just realized that the above two commands will fail, if the repositories are on a SMB/CIFS mounted share on the Linux system, with the following message: ln: creating symbolic li

Re: Copying hooks automatically upon repository creation

2010-10-04 Thread Tech Geek
Thank you all for sharing the information. Really appreciate it.

Re: Copying hooks automatically upon repository creation

2010-10-04 Thread Martin J. Stumpf
On 10/4/2010 2:42 PM, Ryan Schmidt wrote: On Oct 4, 2010, at 12:51, Tech Geek 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

Re: Copying hooks automatically upon repository creation

2010-10-04 Thread Ryan Schmidt
On Oct 4, 2010, at 12:51, Tech Geek 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

Re: Copying hooks automatically upon repository creation

2010-10-04 Thread Andy Levy
On Mon, Oct 4, 2010 at 13:51, Tech Geek 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 e

Copying hooks automatically upon repository creation

2010-10-04 Thread Tech Geek
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/ho