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

Re: svn -- checking out a specific file

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2006-02-06 11:52:54 CET

On 2/6/06, Hershel Robinson <hershelr@netvision.net.il> wrote:
> >>* Hi,
> >> Is it possible to checkout specific file (or set of files) in
> >>subversion?
> >
> > Short answer: no.
>
> > Longer answer: Subversion is about versioning directories and *not* about
> > versioning single files (as CVS does).
>
> Hmmm. I am considering using Subversion for a new project, but this is
> interesting news to me.
>
> So what if one developer wants to check out one file in directory A and
> another wants to check out a different file in the directory? Not possible?
>
> This can thus be done only by branching and each developer putting the
> file he needs into his branched directory A?
>
> I know VSS, not CVS, but I understand that Subversion should be a
> 'better' solution than either. Perhaps I am not understanding something
> correctly.

A checkout only creates a Working Copy of some directory tree from a
repository on a users machine,
<http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-3-sect-4>. It
does not stop another user or the same user from checking out the same
directory tree to some other local location.

Maybe you are confusing lock with checkout. Locking is done per file
in subversion.

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 6 11:53:52 2006

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