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

Sparse updates

From: Klaus Ganser <kganser_at_gmail.com>
Date: Tue, 9 Nov 2010 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
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 07:32:59 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.