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

Re: Single File Checkout

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-04-01 02:44:01 CEST

On Mar 31, 2004, at 7:34 PM, Shatzer, Larry wrote:

> I know there is 'svn cat' and that is fine for some uses. What if you
> wanted
> to just checkout a single file, modify it, and check it back in? You
> can't
> do that unless you check out the whole directory. This is not
> practical in
> the situation where you have thousands of files in the same directory.
>
> Does anyone have a way to accomplish what I need? Check out a single
> file
> modify it, and check it back in, without checking out the whole
> directory?
> Maybe something with the bindings? Or a way to check out an empty
> directory,
> and then svn cat the file(s) I want into it, then commit them.
>

The smallest part of a tree you can currently check out is a single
directory.

I suggest avoiding having thousands of files in a directory if you
don't feel like checking out directories with thousands of files in
them ;-)

Seriously though, I recognize that some people would like the ability
to check out part of a directory, but libsvn_wc just doesn't support
that at the moment, and I don't know of anyone who's planning on adding
support for it.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 1 02:44:56 2004

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.