You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ross Boylan <Ro...@stanfordalumni.org> on 2004/07/31 16:22:58 UTC

Selective co?

Is it possible to check out only some of the files in a directory?
E.g., I have a directory Data/ under version control, but I only want
some of the Data files.

svn co http://localhost/svn/Data/trunk/somefile
is an error.

I thought of using the global-ignores setting, but co seems to ignore
it.

I know I could create a directory in subversion with just the files I
wanted, but then I would have two locations with the same file: e.g.,
the repository would have Data/someFile and SmallData/someFile.  This
seems like asking for trouble.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Selective co?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Sat, 2004-07-31 at 11:22, Ross Boylan wrote:
> Is it possible to check out only some of the files in a directory?
> E.g., I have a directory Data/ under version control, but I only want
> some of the Data files.
> 
> svn co http://localhost/svn/Data/trunk/somefile
> is an error.

'svn checkout' only works on directories, not single files.

(If you just want to grab a file, use 'svn cat')



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org