You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by gaby eis <el...@gmail.com> on 2008/05/26 21:50:28 UTC

Check Out Only Tree Struture

Hi, i need check out only a part of my project and generate the root
path of my project becose java don't read the packages good.
My project is too long and it's very complicated check out all project
and work with all them.
I need to know, if exist the posibility to check out a specified part
of my project and download only the structure of your path to work so
well with subclipse
becose if i create this structure manually subclipse don't read the svn config.

Example
Test
*****svn
********java
**********class1.java
**********class2.java
********others

i need download package java and checkout too test and svn but of this
only the directory without other information more than the folder .svn

Thank So Much
Gabriel Andres Eisbruch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Check Out Only Tree Struture

Posted by Ryan Schmidt <su...@ryandesign.com>.
What is the problem with the solution I mentioned? In what way does  
it not satisfy you completely? And have you looked into Subversion  
1.5's sparse directory feature? Will that suit you better? If so, you  
can already try the Subversion 1.5 release candidate 7.


On May 27, 2008, at 11:47, gaby eis wrote:

> Hi Ryan, really i haven't can found solution, i have been doing that
> you expose, but it no satisface me completly,
>
>
> 2008/5/26 Ryan Schmidt:
>
>> Eric, that will also download everything else in Test. But Gabriel  
>> just
>> wants to get the class1.java and class2.java files in Test/svn/ 
>> java, while
>> still getting the directories Test and Test/svn.
>>
>> Gabriel, you can use the non-recursive checkout option, something  
>> like this
>> (if your repository's root URL is $REPO):
>>
>> svn co -N $REPO/Test
>> svn up -N Test/svn
>> svn up Test/svn/java
>>
>> This will get you the directory structure up to Test/svn/java,  
>> "Test" will
>> be a proper working copy that subclipse and other svn clients know  
>> how to
>> deal with, and all directories except "Test/svn/java" will be  
>> empty (i.e.
>> will only have the hidden .svn directories in them). Well, that's not
>> entirely true. You will also get any files that are directly in  
>> Test or
>> Test/svn. But you won't get any directories that are in those  
>> directories.
>>
>> You will get all files in Test/svn/java. There isn't a way to get  
>> just a few
>> specific files out of the directory. But it looks like that's fine  
>> for your
>> use case.
>>
>> Starting in Subversion 1.5 there is a new sparse checkout feature.  
>> You'll
>> have to look up the syntax and what it does elsewhere; I'm not  
>> familiar with
>> it. But it may be another solution for this issue.
>>
>>
>> On May 26, 2008, at 17:54, Eric DE MAULDE wrote:
>>
>>> I haven't understood you very well.
>>> Have you tried :
>>> $ svn co svn://mydomain/Test Test
>>> or
>>> $ svn export svn://mydomain/Test Test
>>>
>>> Eric
>>>
>>>
>>>> Hi, i need check out only a part of my project and generate the  
>>>> root
>>>> path of my project becose java don't read the packages good.
>>>> My project is too long and it's very complicated check out all  
>>>> project
>>>> and work with all them.
>>>> I need to know, if exist the posibility to check out a specified  
>>>> part
>>>> of my project and download only the structure of your path to  
>>>> work so
>>>> well with subclipse
>>>> becose if i create this structure manually subclipse don't read  
>>>> the svn
>>>> config.
>>>>
>>>> Example
>>>> Test
>>>> *****svn
>>>> ********java
>>>> **********class1.java
>>>> **********class2.java
>>>> ********others
>>>>
>>>> i need download package java and checkout too test and svn but  
>>>> of this
>>>> only the directory without other information more than the  
>>>> folder .svn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Check Out Only Tree Struture

Posted by Ryan Schmidt <su...@ryandesign.com>.
Eric, that will also download everything else in Test. But Gabriel  
just wants to get the class1.java and class2.java files in Test/svn/ 
java, while still getting the directories Test and Test/svn.

Gabriel, you can use the non-recursive checkout option, something  
like this (if your repository's root URL is $REPO):

svn co -N $REPO/Test
svn up -N Test/svn
svn up Test/svn/java

This will get you the directory structure up to Test/svn/java, "Test"  
will be a proper working copy that subclipse and other svn clients  
know how to deal with, and all directories except "Test/svn/java"  
will be empty (i.e. will only have the hidden .svn directories in  
them). Well, that's not entirely true. You will also get any files  
that are directly in Test or Test/svn. But you won't get any  
directories that are in those directories.

You will get all files in Test/svn/java. There isn't a way to get  
just a few specific files out of the directory. But it looks like  
that's fine for your use case.

Starting in Subversion 1.5 there is a new sparse checkout feature.  
You'll have to look up the syntax and what it does elsewhere; I'm not  
familiar with it. But it may be another solution for this issue.


On May 26, 2008, at 17:54, Eric DE MAULDE wrote:

> I haven't understood you very well.
> Have you tried :
> $ svn co svn://mydomain/Test Test
> or
> $ svn export svn://mydomain/Test Test
>
> Eric
>
>
>> Hi, i need check out only a part of my project and generate the root
>> path of my project becose java don't read the packages good.
>> My project is too long and it's very complicated check out all  
>> project
>> and work with all them.
>> I need to know, if exist the posibility to check out a specified part
>> of my project and download only the structure of your path to work so
>> well with subclipse
>> becose if i create this structure manually subclipse don't read  
>> the svn config.
>>
>> Example
>> Test
>> *****svn
>> ********java
>> **********class1.java
>> **********class2.java
>> ********others
>>
>> i need download package java and checkout too test and svn but of  
>> this
>> only the directory without other information more than the  
>> folder .svn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Check Out Only Tree Struture

Posted by Eric DE MAULDE <er...@free.fr>.
I haven't understood you very well.
Have you tried :
$ svn co svn://mydomain/Test Test
or
$ svn export svn://mydomain/Test Test

Eric


> Hi, i need check out only a part of my project and generate the root
> path of my project becose java don't read the packages good.
> My project is too long and it's very complicated check out all project
> and work with all them.
> I need to know, if exist the posibility to check out a specified part
> of my project and download only the structure of your path to work so
> well with subclipse
> becose if i create this structure manually subclipse don't read the svn 
> config.
>
> Example
> Test
> *****svn
> ********java
> **********class1.java
> **********class2.java
> ********others
>
> i need download package java and checkout too test and svn but of this
> only the directory without other information more than the folder .svn
>
> Thank So Much
> Gabriel Andres Eisbruch
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.24.1/1466 - Release Date: 
> 25/05/2008 18:49
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org