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

RE: Partial checkout

From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: Thu, 31 Jan 2008 16:10:36 -0500

 

>We have a big solution made up of several groups of projects.
>Different developers work on different sets of projects, organized in
>solutions that realize partitions of the global solution.
>In practice we're using the 'Partitioned single solution' model as
illustrated
>in the following article:

>http://msdn2.microsoft.com/en-us/library/ms998208.aspx

>The problem is that our versioning system is Subversion.

Well, not really, but I understand what you mean.

>With Subversion we've not been able to checkout partially the content
of the root
>folder of the repository.
>If I want to work with a partial solution and I want to checkout only
the solution file I need,
>and the related projects' dirs I'm forced to checkout each separate
project directory by itself.

The next version will have "sparse folders" (or some such name) which
will allow you to check out pieces of a folder structure. This might
alleviate some of the problems.
        
>If I want to work with partitionedSolution1.sln, that is made up of
project1 and
>project2 I have two kind of problems:

>- I have to checkout separately project1Dir and project2Dir in 2
subdirectories of my working copy.
> But in this way I cannot commit or update globally the content of my
working copy, I'm supposed to commit and
> update all the projects separately, instead.

You can work around this by changing the way you layout your solution's
folder structures. Each subsection that has its own solution should go
into a single folder (e.g., "/subproj/proj1", "/subproj/proj2", where
mysln.sln is in "/subproj"). The "real" solution would reference all
those together, so if there are three subsections, there will be three
"top level" folders.

>- I cannot checkout single files. So, if I want the
partitionedSolution1.sln file, the only thing I can do is to
> checkout only the top folder just to get all the solution files
instead of only the one I need.

This isn't a problem if you follow my instructions.

>Matteo

David

--
All developers are lazy as evidenced by the amount of time and effort
spent in making a computer do the work. 
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-31 22:11:13 CET

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.