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

Re: Please tell me I'm wrong!

From: William Nagel <bill_at_stagelogic.com>
Date: 2006-08-31 16:42:44 CEST

On Aug 31, 2006, at 10:18 AM, <Chris.Fouts@qimonda.com> wrote:

> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a
> directory
>
> One can NOT check out a single file in Subversion?

You can't check out a single file, because Subversion needs to check
out working copies with directory-level granularity in order to have
a place to store the metadata necessary for keeping track of the
files in the working copy (the .svn directory).

That said, you can get a single file out of Subversion, just not as a
working copy (i.e. you won't be able to make changes and commit them
back). To do that, all you need to do is run "svn cat".

-Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 17:48:56 2006

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.