On 2015-08-28 18:40, Dag Schmidt wrote:
>> On 15.08.2015 19:19, Dag Schmidt wrote:
>>> The Checkbox selection in the Repository Browser works by default as a recursive check on all subdirectories.
>>>
>>> - Is there a simple way to keep my sticky selection and add only e.g. single files from other directories?
>>>
>>>
>>> I'm using a sparse tree of the repository as working copy.
>>> The working copy was generated by a a selection of partial subdirectories and single files. The "make depth sticky" option was used to store the current structure.
>>>
>>> If I like to add other single directories or files my recent stored selection is updated recuresively with all existing subdirectories and files I unchecked before.
>>> It seems due to the collapsed tree the root checkbox is working as a recursive checkout by default.
>>>
>>> I would expect my sticky selection would not have been modified by just opening the collapsed Repository Browser view with the "choose items" button.
>>>
>>> Opening the tree-view down to the final subdirectories shows my previous selection. With this view I can add single files as expected.
>>> May be the completely unfolded tree for my previous selections could be shown with "choose items".
>>>
>>> I found similar entries but no workaround or solution yet.
>>> Looking forward for any comments.
>
>
>
>>
>> The problem is known, but there's no good solution.
>> If we would make the behavior as you expect, then we'd have to fetch all
>> data in the repo browser recursively when you click the "Choose
>> items..." button. But doing that could take several minutes for bigger
>> and remote repositories. So that's not an option.
>>
>> Stefan
>>
>>
>> --
>> ___
>> oo // \\ "De Chelonian Mobile"
>> (_,\/ \_/ \ TortoiseSVN
>> \ \_/_\_/> The coolest interface to (Sub)version control
>> /_/ \_\ http://tortoisesvn.net
>
>
>
> Sorry for taking notice "so late".
>
> Stefan, I can't get what you describe to be honest.
>
> There is a sparse checkout as I can see if I unfold the tree-view and observe all checkboxes. That means to me I got all necessary information on my local machine.
>
> So I see no need to fetch recursively data in the repro browser. Currently it is that way. I get files recuresively I don't want.
>
>
> Doing an "update" gets the latest version of my sparse checkout or structures that changed.
>
> In the next step a simple way would be to unfold by default the complete shown tree view down to the level I got files in my sparse checkout. With this view my wanted behavior is already working well.
> A manual unfold of all directories and subdirectories takes a long time and is boring.
>
> - So is there a way to implement this automatic "unfold" function?
>
> btw. we are using the SVN not only for code but for related independent documents. The sparse checkout keeps the structure of the repository on my local machine and reduces the risk to take code with me I don't want to touch and I "should not have available" localy.
>
> Thanks to all for your attention.
> Dag
This problem has been addressed by a patch from Patrick Steinhardt:
Fix issues with "update to revision" on sparse checkouts:
* update items that were not expanded in the repo browser with the
existing depth
* if the user toggles a checkbox of a folder, only then update that
folder recursively
https://sourceforge.net/p/tortoisesvn/code/27489/
Also see
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3189503.
--
Michael Diers, elego Software Solutions GmbH, http://www.elegosoft.com/
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3189578
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-10-12 12:42:15 CEST