Hello Stefan!

Am Dienstag, 28. November 2017 19:29:42 UTC+1 schrieb Stefan:

>
>
> On Tuesday, November 28, 2017 at 11:23:14 AM UTC+1, H. Niemann wrote:
>>
>> Hello!
>>
>> If a directory contains several subdirectories and one external reference 
>> to a directory, then I can
>>
>> * check out the full directory with all it's children and get the 
>> external as well
>> * "choose items ..." and pick only some of these directories, but then 
>> the external is missing.
>>
>> Is there a way to create a sparse working copy that includes the 
>> externals, or even better,
>> that allows me to choose whether or not I want the externals?
>>
>>
> After checking out the directories without the externals, you can 
> right-click on folders that contain externals and use the "update to 
> revision" entry to fetch the externals as well.
>
> Stefan
>

Unfortunately this didn't work for me.

If a directory contains several subdirectories not all of which shall be 
checked out into the working copy,
I see the following log (only beginning)

Command: Checkout from https://myhost.com/repos/acs64/septa, revision HEAD, 
Unknown depth, Externals included  
Updating: D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir  
Updated: D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir  
Completed: At revision: 1122  
Command: Sparse update CCU, depth 'Only this item'  
Updating: D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU  
Added: D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU  
Completed: At revision: 1122  
Command: Sparse update CCU/branches, depth 'Fully recursive'  
Updating: 
D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU\branches  
Added: 
D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU\branches  
Completed: At revision: 1122  
Command: Sparse update CCU/trunk, depth 'Fully recursive'  
Updating: 
D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU\trunk  
Added: 
D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU\trunk  
Added: 
D:\PRJ\2017-11-29_svn_ext_chooseitems\septa-without-septadir\CCU\trunk\CPU 
[...] 

Although the first line lists "externals included", it doesn't seem to 
include externals for this directory!

This looks like SVN is iterating over each child of directory 
https://myhost.com/repos/acs64/septa,
but the external directory reference in this node does not seem to get 
processed.
(Externals that are deeper in the tree are processed just fine, as far as I 
can see.)

The repo browser shows and handles externals almost like directories.
Could the "Choose items ..." dialog be made behave like the repo browser, 
and would the underlying
checkout / update engine be able to select externals to be included / not 
to be included?

With best regards
Hartmut 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/fb2d1dbb-5c73-43ba-a7a3-0ce5399adba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to