how to checkout a selection of files ?

47 views
Skip to first unread message

Arnaud Duval

unread,
Dec 21, 2021, 12:26:26 PM12/21/21
to TortoiseSVN
i'd like to checkout a copy on my desktop of a project. i need a directory and only some files of another directory (a common directory for several projects) . i could not find how to do this.

the workaround that i found is to do two checkouts separately. but now i have to do two commits separately since i have two .svn directories

Pavel Lyalyakin

unread,
Dec 21, 2021, 2:01:12 PM12/21/21
to TortoiseSVN
On Tue, Dec 21, 2021 at 8:26 PM Arnaud Duval via TortoiseSVN <torto...@googlegroups.com> wrote:
i'd like to checkout a copy on my desktop of a project. i need a directory and only some files of another directory (a common directory for several projects) . i could not find how to do this.

the workaround that i found is to do two checkouts separately. but now i have to do two commits separately since i have two .svn directories

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/91d9e8f1-1590-4d42-91bb-a003e854ad6cn%40googlegroups.com.

[[[
To easily select only the items you want for the checkout and force the resulting working copy to keep only those items, click the Choose items... button. This opens a new dialog where you can check all items you want in your working copy and uncheck all the items you don't want. The resulting working copy is then known as a sparse checkout. An update of such a working copy will not fetch the missing files and folders but only update what you already have in your working copy.
]]]

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

Arnaud Duval

unread,
Dec 22, 2021, 7:40:10 AM12/22/21
to TortoiseSVN
Thanks. Sorry i missed that in the documentation

Arnaud Duval

unread,
Dec 22, 2021, 8:21:23 PM12/22/21
to TortoiseSVN
What if i forget a file during the checkout, is it possible to add it later ?

Pavel Lyalyakin

unread,
Dec 23, 2021, 6:00:53 AM12/23/21
to TortoiseSVN
Yes, it is possible.

1. Right-click in your working copy.
2. Select TortoiseSVN | Update to Revision.
3. Click Choose items and add the necessary items.
4. Click OK.

Hope this helps.

Arnaud Duval

unread,
Dec 23, 2021, 9:27:58 AM12/23/21
to TortoiseSVN

Nice ! 
Reply all
Reply to author
Forward
0 new messages