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

Re: Multiple repositories same hooks

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-05-31 16:38:46 CEST

Ryan Schmidt wrote:
> On May 31, 2006, at 15:26, Rowell, Geoff wrote:
>
>> Merijn Boom <merijn.boom@eurorscg.nl> wrote:
>>> Every time a repository is made we have to copy the hook scripts of
>>> one earier made repository. Is it possible to change the default
>>> created repository in order to have our hook scripts in it?
>>>
>>> We are running on Windows,
>>
>> You can't change the default repository creation, but...
>>
>> Just place a "call" statement, to your centralized hook scripts
>> (say in
>> "..\..\common_hooks"), in the "*.bat" files in each repository
>> "hooks" subdirectory. You still have to add the simple "*.bat" files
>> to each repository's "hooks" subdirectory, but all the complex logic
>> will be centrally located.
>
> On Mac OS X (or *BSD or Unix or Linux) I would just delete the hooks
> (and conf) directories and make them instead be symlinks to a central
> hooks (and conf) directory. Does Windows have no equivalent?

Unfortunately, the "hot-copy.pl" tool does not work well with symlinks under
UNIX/Linux. If it did, I'd be much more inclined to use this approach:
hot-copy.pl is very handy for keeping around backup images.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 16:41:07 2006

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.