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

Re: Sparse checkouts automation

From: Felix Gilcher <felix.gilcher_at_asquera.de>
Date: Thu, 11 Nov 2010 00:31:09 +0100

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
Received on 2010-11-11 00:55:12 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.