[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: Rowell, Geoff <growell_at_ENVOYWW.COM>
Date: 2006-05-31 15:47:20 CEST

Ryan Schmidt <subversion-2006q2@ryandesign.com> 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?

No, Windows doesn't, but there's little difference between the number of
steps. Using wrapper "*.bat" files is conceptually the same.

-Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 15:58:27 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.