partial checkout with svn:external problem

409 views
Skip to first unread message

Paul van der Hulst

unread,
Dec 1, 2011, 6:09:04 AM12/1/11
to us...@tortoisesvn.tigris.org
Hello,

I'm having trouble with a partial checkout which includes an external folder (specified through svn:externals path_to_external@revnr sosd).
(using tortoisesvn 1.7.1/64bit)

1) When I do a fully recursive checkout I get the complete project, including the external files in the folder: sosd .
The log output is in the attached file 'fully_recursive.txt'

2) when I deselect some project files through the 'choose items' button, I get only the files from the external folder, but they are in the checkout folder, not in the subfolder 'sosd'! All the other files are skipped. The log output is in the attached file 'selection_w_external.txt'
Note that the first line in the log indicates that the checkout is not from the specified repository, but instead from the external. The files sosdxxx are copied to the HVMCkit_ACI_FOC_sensorless folder instead of HVMCkit_ACI_FOC_sensorless\sosd as in example 1

3) When I deselect the external folder as well as some files in the project, I do get the specified files. The log is attached: selection_wo_external.txt


Paul

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

fully_recursive.txt
selection_w_external.txt
selection_wo_external.txt

Stefan Küng

unread,
Dec 2, 2011, 1:45:25 PM12/2/11
to us...@tortoisesvn.tigris.org
On 01.12.2011 12:09, Paul van der Hulst wrote:
> Hello,
>
> I'm having trouble with a partial checkout which includes an external
> folder (specified through svn:externals path_to_external@revnr
> sosd). (using tortoisesvn 1.7.1/64bit)
>
> 1) When I do a fully recursive checkout I get the complete project,
> including the external files in the folder: sosd . The log output is
> in the attached file 'fully_recursive.txt'
>
> 2) when I deselect some project files through the 'choose items'
> button, I get only the files from the external folder, but they are
> in the checkout folder, not in the subfolder 'sosd'! All the other
> files are skipped. The log output is in the attached file
> 'selection_w_external.txt' Note that the first line in the log
> indicates that the checkout is not from the specified repository, but
> instead from the external. The files sosdxxx are copied to the
> HVMCkit_ACI_FOC_sensorless folder instead of
> HVMCkit_ACI_FOC_sensorless\sosd as in example 1
>
> 3) When I deselect the external folder as well as some files in the
> project, I do get the specified files. The log is attached:
> selection_wo_external.txt

The problem is that the dialog shows externals to be selected for the
checkout. It must not show those.

I've opened issue #150 for this:
http://code.google.com/p/tortoisesvn/issues/detail?id=150

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

Paul van der Hulst

unread,
Dec 4, 2011, 6:48:39 AM12/4/11
to us...@tortoisesvn.tigris.org
Why would I not be allowed to deselect external files or folders for a selective checkout?
Removing these externals from the selection dialog seems like a reduction in functionality to me, more so than an actual fix.

With this fix, suppose I only want to checkout two files, I get all the externals with them, for free?

Please consider a different fix.

Paul

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

Stefan Küng

unread,
Dec 4, 2011, 4:30:02 PM12/4/11
to us...@tortoisesvn.tigris.org
On 04.12.2011 12:48, Paul van der Hulst wrote:
> Why would I not be allowed to deselect external files or folders for
> a selective checkout? Removing these externals from the selection
> dialog seems like a reduction in functionality to me, more so than an
> actual fix.

Reducing functionality? Can't be, since that never worked and never
will. Meaning that 'functionality' never existed in the first place.

> With this fix, suppose I only want to checkout two files, I get all
> the externals with them, for free?

There's also a checkbox "include externals" which you can uncheck.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

Paul van der Hulst

unread,
Dec 5, 2011, 3:20:08 AM12/5/11
to us...@tortoisesvn.tigris.org
> Reducing functionality? Can't be, since that never worked and never
> will.

Can't (svn does not the possibility to administer this property in a checkout) or won't (tortoisesvn will not allow this although it is perfectly valid in svn)?

>Meaning that 'functionality' never existed in the first place.

I think that depends on your definition of 'worked'. I have version 1.7.1 here which actually allows me to select or deselect external folders for a selective checkout, and I do (respectively don't) get those externals in my checkout (admittedly in the wrong location, so it doesn't work perfectly). The problem is that when I do select the externals, the rest of the checkout is broken.
I think that functionality basically 'worked' in 1.7.1 and the selective checkout of the non-external files does not.

But seriously, isn't this just a matter of changing the order of operations: first checkout the locals, then the externals? In the selection_w_external log it seems too much priority is given to the externals.

Paul

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

Stefan Küng

unread,
Dec 5, 2011, 11:06:03 AM12/5/11
to us...@tortoisesvn.tigris.org
On Mon, Dec 5, 2011 at 09:20, Paul van der Hulst <pa...@piak.nl> wrote:
>> Reducing functionality? Can't be, since that never worked and never
>> will.
>
> Can't (svn does not the possibility to administer this property in a checkout) or won't (tortoisesvn will not allow this although it is perfectly valid in svn)?
>

Can't.

>>Meaning that 'functionality' never existed in the first place.
>
> I think that depends on your definition of 'worked'. I have version 1.7.1 here which actually allows me to select or deselect external folders for a selective checkout, and I do (respectively don't) get those externals in my checkout (admittedly in the wrong location, so it doesn't work perfectly). The problem is that when I do select the externals, the rest of the checkout is broken.
> I think that functionality basically 'worked' in 1.7.1 and the selective checkout of the non-external files does not.
>

As I said: it never worked, and it never will.
Sure, if you're ok if the files end up in the completely wrong
location, if you consider that 'working', then of course you're right.
But if you actually care where your files get checked out to, then no,
it never worked and simply can not work: externals do not have a depth
and are handled differently than normal files/folders in a working
copy.
Externals always have depth=infinity, but there's a flag to either
include or exclude externals completely.

> But seriously, isn't this just a matter of changing the order of operations: first checkout the locals, then the externals? In the selection_w_external log it seems too much priority is given to the externals.
>

It's not that easy.

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

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

Reply all
Reply to author
Forward
0 new messages