[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Issue with Choose Items in Update to Revision

From: Abraham Pearson <apearson_at_atlantiscasino.com>
Date: Mon, 26 Jan 2015 11:17:16 -0800

"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\ Branch1\Parent
\Branches\ Branch1\Parent\SubfolderA
\Branches\ Branch1\Parent\SubfolderB
\Branches\ Branch1\Parent\SubfolderC

New Folder:

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.

What actually happened:
All the subfolders (SubFolderB and SubFolderC) that I had unchecked from the sparse checkout came back.

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 )


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-26 21:15:35 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.