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

Re: Sparse updates

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 10 Nov 2010 18:41:41 +0200

Klaus Ganser wrote on Tue, Nov 09, 2010 at 21:19:24 -0800:
> Hello,
> I have a simple feature request for the svn update command, so I'd
> like some feedback on the utility of this feature. In the past, I've

Sounds useful to me.

> wanted to perform a sparse checkout of several different parts of a
> repository, so I've started by checking out the root using
> --depth=empty:
> svn co --depth=empty svn+ssh://svn.example.com/trunk/ trunk/
> From here, if I wanted to download the contents of /trunk/a/b/ and
> /trunk/c/d/e/ without any extraneous files or directories, I would
> have to first check out all of the intermediate directories in the two
> paths explicitly:
> svn up --depth=empty trunk/a/ trunk/c/
> svn up --depth=empty trunk/c/d/
> svn up trunk/a/b/ trunk/c/d/e/
> What I'm proposing is that svn update have a --parent flag that would
> perform these intermediate updates as necessary for the requested
> update paths, much like mkdir.
> Thanks,
> Klaus
Received on 2010-11-10 17:44:44 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.