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

Re: Common hookscripts for several repositories

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 10 Oct 2008 01:10:03 -0400

Okay, never tried using symbolic links for hook scripts, but that
should be possible. I don't think Subversion cares.

As for telling which repository is which, look at the first argument
passed to the hook. That's the repository directory. Otherwise, you
wouldn't be able to use svnlook.

--
David Weintraub
qazwart_at_gmail.com
On Thu, Oct 9, 2008 at 5:44 AM, Engebakken Geir <geir.engebakken_at_edb.com> wrote:
> Hi,
>
> We are setting up Subversion with several repositories for several
> development systems, for instance 1 for all our java prosjects and one for
> all our cobol development ++
>
> We want to implement some initial hookscripts, and I presume that more will
> come, some functionality in the hookscripts will be common for all
> repositories, but others will be adapted individually.
>
> To avoid having to maintain many parallell scripts I would like to find a
> way to, for instance use symbolic links to a common directory for all hook
> scripts, but then again how would I differentiate between the different
> repositories? Are there some best practices around for this scenario? Any
> ideas?
>
>
> Geir
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-10 07:10:25 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.