I'm new to the list. I'm not sure if this email made it out to the list the first time. I improved the formatting a little. Kindly let me know if I am doing something wrong.
Summary:
"TortoiseSVN 1.8.10, Build 26129 - 64 Bit , 2014/12/17 19:35:51" on Windows 7 SP1 64 bit.
Sparse updates are not making the choice of folders as sticky as I would expect in later sparse updates. I really enjoy the use of "Update to Revision." It makes branching much more feasible for me because my repository has many different projects in it. I run into this problem when I am using update to revision to add a new branch to my working copy. Would it be possible to make Update to Revision respect previous choices, just like update does?
Example folder structure:
\Branches
\Branches\Branch1
\Branches\Branch1\Parent
\Branches\Branch1\Parent\SubfolderA
\Branches\Branch1\Parent\SubfolderB
\Branches\Branch1\Parent\SubfolderC
New Folder:
\Branches\Branch2
What I did:
1.Establish a set of folders where some subfolders are included and some are not
a. Foundation - I had already sparsely checked out various folders from Branches in my repository.
b. Right click on an existing folder in the working copy
i. \Branches\Branch1\Parent
ii. Select TortoiseSVN
iii. Select Update to Revision.
c. Keep defaults:
i. Revision: Head revision
ii. Update Depth: Working Copy
iii. Make depth sticky: Checked
iv. Omit Externals: Not checked.
d. Click on choose items
e. Uncheck several subfolders.
i. Uncheck
1. \Branches\Branch1\Parent\SubfolderB
2. \Branches\Branch1\Parent\SubfolderC
f. Click OK.
g. Click OK.
h. Log showed that SubFolderB and SubFolderC were deleted from working copy as expected.
i. Close out dialog.
2. Test stickiness with regular update
a. Navigate up to Branches level in Windows Explorer.
i. \Branches
b. Run TortoiseSVN - Update
c. Ran as expected. No changes made.
d. Closed out dialog
3. Test memory of stickiness with Update to Revision
a. Same folder
i. \Branches
b. Right click - TortoiseSVN - Update to Revision.
c. Same options as above.
d. Click on Choose items.
i. Check Branch2 (This just makes it a real world scenario. The problem will happen even if you change nothing.)
ii. Don't expand any folders.
iii. Click OK.
e. Click on OK.
What I expected:
I expected that no folders in Branch1 would be changed, because I did not change the selection.
WC:
\Branches
\Branches\Branch1
\Branches\Branch1\Parent
\Branches\Branch1\Parent\SubfolderA
\Branches\Branch2
What actually happened:
All the subfolders (SubFolderB and SubFolderC) that I had unchecked from the sparse checkout came back.
WC:
\Branches
\Branches\Branch1
\Branches\Branch1\Parent
\Branches\Branch1\Parent\SubfolderA
\Branches\Branch1\Parent\SubfolderB
\Branches\Branch1\Parent\SubfolderC
\Branches\Branch2
Workaround:
This makes "update to revision" harder to use. To work around this problem, I need to expand all subfolders until I reach the depth at which all lower subfolders are either selected or not selected.
Possible Solution:
Would it be possible to change the two state checkbox into a three-state check box?
Checked: Item is selected and all children are selected recursively
Unchecked: Item is not selected
Grey: Item is selected and some or no children are selected
This could also help with previously reported concern: Svn 1.8 - Problem with Choosing items during checkout (http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3063866 )
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3095376
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-29 17:51:31 CET