Robert Whitaker wrote on Wed, Aug 15, 2012 at 23:00:53 -0700:
> ---o---
> STATEMENT 3: 
> ---o---
> Assume I didn't know about sparse checkouts (or about the --depth 
> flag) and assume I had created my working copy by creating all the
> intermediary directories using "mkdir" as follows
> 
> $ mkdir -p /svn-test/mom/daughter
> 
> $ cd /svn-test/mom/daughter
> 
> $ svn co svn://REPOSITORY/mom/daughter/granddaughter1
> A    granddaughter1/bunny1.txt
> A    granddaughter1/bunny2.txt
> Checked out revision 85792.
> 
> ---o---
> STATEMENT 5: 
> ---o---
> This is our problem statement: Assume I want to modify the above 
> working copy in-place and turn it into a sparse checkout. The end
> result should be that I can run "svn status" from all intermediary 
> directories.

I don't think you have tried yet:

% svn co $REPOSURL/mom/daughter/granddaughter1 \
         /svn-test/mom/daughter/granddaughter1
% svn co --depth empty $REPOSURL /svn-test
% svn up --parents --force /svn-test/mom/daughter/granddaughter1

Also note that the behaviour is likely to be different between 1.6 and
1.7 (the relevant portions of the library were reworked).

Reply via email to