[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: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-01-26 01:25:52 CET

Duncan Murdoch wrote:

>> (apparently) can't check out individual files within a directory.
>>
>> I'm told that this was a design decision made by the Subversion
>> architects.
>>
>> My question was ... What was the reasoning behind this decision?
>>
>> If you can check out a subdirectory within a repository without having
>> to check out the whole repository, why not also then be able to check
>> out an individual file within a subdirectory?
>
> Because the .svn subdirectory is part of the subdirectory you check out,
> allowing checkouts to be moved around without losing their metadata. If
> you checked out a file, where would the metadata go?
>

Cvs wants to create a new directory for the initial checkout
and put a CVS directory in it for metadata too, but it still
lets you specify that only a single file is checked out into
that directory if that is what you want - even if the repository
directory contains more files.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 26 01:27:49 2007

This is an archived mail posted to the Subversion Users mailing list.