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

Re: Copying hooks automatically upon repository creation

From: Tino Schwarze <subversion.lists_at_tisc.de>
Date: Fri, 8 Oct 2010 11:38:28 +0200

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 Linux system, with the following
> message:
> ln: creating symbolic link conf: Operation not supported
>
> How do we get around in this situation?

We've gone another route: Create a "meta repository" which contains the
hook scripts (and possibly conf/ directory), then after repository
creation do
mv hooks org.hooks
svn co file://var/lib/svn/meta-repo/hooks
mv conf org.conf
svn co file://var/lib/svn/meta-repo/conf

Easier updating later and no symlinks. :-)

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."
www.tisc.de
Received on 2010-10-08 11:39:05 CEST

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.