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

Fw: Selective modules checkout

From: <Fabien.Bouleau_at_ses-astra.com>
Date: 2007-02-14 10:13:39 CET

Hello,

I'm trying to make a selective modules checkout. One of the ideas out of it
is to be able to make a "svn update" in the project's root directory to
update the checked out directories only.

Here is the layout of my repository:

REPOS
      trunk
            module1
                  1.1
                  1.3
                  ...
            module2
                  1.1
                  1.3
                  ...
            module3
                  1.1
                  1.3
                  ...
      branches
            module1
                  1.0
                  1.2
                  ...
            module2
                  1.0
                  1.2
                  ...
            module3
                  1.0
                  1.2
                  ...

Because I don't require all the modules and because module3 for instance is
quite huge (200MB), what I am trying to do is to checkout only module1 and
module2 and ignore module3.

With the command-line Subversion client, I found a 3 steps approach, which
is the following:

1. Checkout the base branch (for instance 'trunk') to make it the project's
root directory

      svn checkout -N svn+ssh:///<repos_url>/trunk <project_name>

2. Step into the newly checked out root directory and checkout the required
modules;

      cd <project_name>
      svn checkout svn+ssh:///<repos_url>/trunk/module1
      svn checkout svn+ssh:///<repos_url>/trunk/module2

At this step, the "svn update" command works as I require (only the checked
out modules are updated), but after a "svn cleanup" the "svn update"
command gets the missing modules (module3 in the example above).

The questions are: Is it the right way to proceed? Is there any other
better alternative? Any future feature in Subversion that will do it?

Regards,
Fabien.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 14 10:13:15 2007

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.