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

Re: Automatically populate intermediate directories during check out

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 4 Sep 2010 19:13:15 +0200

On Sat, Sep 04, 2010 at 05:07:31PM +0000, Mark _ wrote:
>
> Hi all,
>
> When I want to check out something like http://mysvn/trunk/firstDir/secondDir/thirdDir/FourthDir/FifthDir I do the following:
> svn co http://mysvn/trunk
> cd trunk
> svn up firstDir --depth files
> cd firstDir
> svn up secondDir --depth files
> cd secondDir
> svn up thirdDir --depth files
>
> etc. etc.
>
> Is there a way to simply check out the FifthDir directory and have all of the intermediate directories (firstDir, secondDir, thirdDir, fourthDir) automatically checked out?
>
> Maybe I'm just being lazy :) But I think this would be a useful feature, especially for big svn databases...

Try this script:
http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/svn-viewspec.py

It would be nice if a "viewspec" feature would make its way into Subversion
core in one way or another. There have been discussions about this on the
mailing lists in the past. However, AFAIK nobody is working on such a feature
at the moment.

Stefan
Received on 2010-09-04 19:13:59 CEST

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.