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

Re: Migrating from CVS - a couple of questions

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-08-11 19:38:04 CEST

On Wed, 11 Aug 2004 16:08:47 +0100, Ciaran Treanor
<ciaran.treanor@capetechnologies.com> wrote:
> Hi,
> I'm thinking of migrating from CVS (main reason is for file renaming
> support), but I have a couple of questions I'd like to get some answers to
> before making the big move!
> Question 1:
> CVS has a concept called "ampersand modules" whereby a module can refer to
> other modules by including '&othermodule' in it's definition in the modules
> file.
> Let's say the CVS repo contains two modules (mod1, mod2). I can create an
> ampersand (virtual) module by putting the following line is a configuration
> file on the CVS server.
> ampermod &mod1 &mod2
> Now I can checkout 'ampermod' (cvs co ampermod) and I will see the
> following:
> ampermod/mod1/...
> ampermod/mod2/...
> Is there a similar concept in subversion?

svn:externals can do this. See

> Question 2:
> With CVS it is possible to have CVS run programs to process files when they
> are committed. Typically this is used to run code formatters
> (prettyprinters). Is it possible to do this with subversion?

It may be possible to do what you want with a post-commit hook:

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 11 19:38:42 2004

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.