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

Reply via email to