Hi,

there's no way to do that, not even with multiple commands. You can only decide 
to have all direct children for a directory (depth=immediates) or none 
(depth=empty). So you'll always have file2.txt alongside file1.txt. Other than 
that, there's no way that I know of that allows checking out the path 
trunk/dir1/dir1_1 in a single command without pulling in dir1_2 as well. 
However, you can always use a shell script to do that.

Felix

On Nov 11, 2010, at 12:10 AM, San Martino wrote:

> Hello,
> 
> Suppose you have a layout like this:
> /trunk
>    /dir1
>       /dir1_1
>          file1.txt
>          file2.txt
>       /dir1_2
> 
> Is there a way with one command to sparse-checkout al the elements
> of the path to file1.txt (included) but no more than those elements ?
> 
> That is, the local working copy should look like this after one command:
> /trunk
>   /dir1
>      /dir1_1
>         file1.txt
> 
> Note that file2.txt and dir1_2 won't appear.
> 

--
Felix Gilcher
asquera Felix und Florian Gilcher GbR
Gesellschafter: Felix Gilcher, Florian Gilcher

m. +49 172 840 88 28

Brunnenstraße 7d
10119 Berlin

https://m.asquera.de/felixgilcher

Reply via email to