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

Re: Subversion modules?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-09-06 15:22:42 CEST

On 9/6/06, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> Does Subversion have a concept of "modules" as CVS did?

No, but if you want to use the "ampersand module" setup in CVS, this
is what you can do:

- Create your source tree
- Create an empty directory in the location where you want to store your tests
- Store your tests elsewhere *in the same repository*
- Check out the project
- Switch the (empty) tests directory to the repository location the
tests are located at (svn switch /path/to/wc/tests/dir
REPOS-URL-TO-TESTS)

That way, commits to your source tree will also commit the changes to
the tests in the same commit. Updates will retrieve the latest changes
to the tests. Commits will be atomic across tests and source tree.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 6 15:29:05 2006

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