[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: Kjell H Andersen <kha-svn_at_lentic.net>
Date: 2006-02-06 11:33:05 CET

If you write
"svn co -N <url>"
you will not get any subdirectories at least. You will still get all the
files in the base directory of your url.
As far as I know, there is no way to check out a single file. I think
you can do a "svn export", but that will "disconnect" the file from the
repos. If you don't need to edit and check in the file, it might be a


Praveen DS wrote:
> / Hi,
> Is it possible to checkout specific file (or set of files) in
> subversion?
> Our build process requires a single XML file to determine some
> dependencies, but I dont know how to checkout a single file from SVN.
> Also the 'svn cat' works only if there is an working copy present. In
> my case, I dont have one and I dont need one (Just because for getting
> a single file, having a working copy of the directory is a bit
> costly). All I need is a read only copy of a particular file. Is
> there any way I can create a working copy of a directory without
> populating it and then checkingout the particular XML file I need?
> //Any help on this is welcome. I am using //Subversion
> <http://subversion.tigris.org/> version 1.2.3 (r15833)./
> /
> Regards
> PraveenDS/

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:34:07 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.