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

RE: Checkout single file

From: Graeme Kidd <coolkidd3_at_hotmail.com>
Date: Wed, 21 Oct 2009 21:43:54 +0100

>A checkout requires a working copy folder to store the .svn metadata.
>If you want single-file checkout, you'll need to lobby for it on the
>Subversion mailing list, as it has to be implemented there.

Can you not check if the URL of the repository you are about to check out
refers to a file or not, if it's a file can you then checkout the parent
folder using -depth empty then do a separate update on the file you wanted
to checkout?
Essentially carrying out these three steps when you want to check out a
single file when the working copy doesn't exist:
1) svn checkout <url_of_big_dir> <target> --depth empty
2) cd <target>
3) svn up <file_you_want>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2409956

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-21 22:45:23 CEST

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