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

Re: Checking out individual files

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2007-01-28 22:54:05 CET

On Jan 28, 2007, at 20:28, Erik Huelsmann wrote:

> And if the answers are that both he has a valid use-case as well as
> the best tool available would be Subversion, then, I'm glad to be the
> one in this thread to bring some light: Subversion will support sparse
> directories in version 1.5. (The feature will be landing or has landed
> on trunk.) I'm not sure there's an interface yet to checkout a single
> file, but that would be a mere matter of time and budget to get it...

Yea, I noticed the branch only a week or so ago. I've read Karl's
docs on it. I don't have a use-case for this functionality myself,
so I'm not sure if I understand it entirely.

Suppose we have directory "A" and files "b" and "c" arranged so:

/A/b
/A/c

svn co --depth=empty REPOS/A Awc

--> Creates an empty checkout of REPOS/A called Awc

svn up Awc/b

--> Makes just file "b" available in Awc without also pulling in file
"c".

I'm not sure on that last bit, as README.txt seems to use only
directories in its examples.

It doesn't appear to support checking out individual files, but maybe
you could get the one file you're interested in within its containing
directory without needing to pull in all of its siblings.

Am I correct?

Would this help with the OP's use case?

// ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 28 22:54:50 2007

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.