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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-27 01:21:47 CEST