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

Re: can hooks be versioned?

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-11-19 07:27:15 CET

On Sun, Nov 18, 2001 at 01:26:21PM -0500, Eric Gillespie, Jr. wrote:
> Karl Fogel <kfogel@newton.ch.collab.net> writes:
>
> > Well, sure. Put them under revision control. It doesn't
> > even have to be Subversion, though it'd be kind of weird if
> > it weren't. :-)
>
> But will they automatically be checked out on commit, like with
> CVS's checkoutlist?

Write a hook to do the automatic checkout.

The short answer is that Subversion does not come with *specific* support
for the CVS checkoutlist. *However* ... Subversion's hooks are more than
capable of doing the same thing.

I could see setting up a repository laid out like:

/
  trunk/
  tags/
  branches/
  hooks/

And then set up the right hook scripts to look for changes to the hooks/
area and go and update that area.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.