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

Re: [TSVN] A simple request

From: Atanas Raykov <nasko_at_unixsol.org>
Date: 2004-09-02 21:22:56 CEST

> There are also some serious problems with that approach. In a
> treeview, the folders must be always shown. And for the commit dialog,
> that would mean that a folder is shown but (depending on if it really
> changed) doesn't need committing.

Ok, I'm beggining to think that you didn't get my request (as I am
rereading my first mail I can see why). I'm not saying that you must
replace the current check-box style commit dialog, I'm saying that you
may want to consider adding a tree view for the files (especially the
expand/collapse part). It'll be just the same thing, with the only
diference that you can hide som of the files to get a better view of the
others. Think of it as a repository view with checkboxes on their side
to select the files you need to commit and showing only the files that
are not ignored and differ from the previous commit.

> Another thing: in a tree control, there's no way of checking a folder
> for commit. Files can have a checkbox assigned to them, but not
> folders. And what should TortoiseSVN do in such a case? Right now, you
> can select/deselect a folder for commit - with a tree view control
> this wouldn't be possible anymore. Should TSVN simply commit folder
> changes always? I don't think that's a good idea!

This I actually had in my mind. But I'm pretty sure that we can figure
out a way (to minimise the clicking, you can just select the folder,
then unselect all the files in it). Probably a three-click checkbox for
the directories will do:
    - first click - select the folder and all the files in it
    - second click - keep the folder selected, but unselects all the
files in it (if you want to add only the folder)
    - thind click - unselects the folder (and all the files in it).
Of cource there is a little tricky part - if you use standart checkboxes
you can represent if a folder is selected with all the files in it, with
some files in it, but you cannot represent a folder that has no files
selected in it. And if you collapse this folder you cannot be sure
eather you have selected all the files in it, or just the folder.

Still, if you plan on adding this feature, I'm pretty sure that we'll
come up with a right way to represent it and keeping it simple and clean.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Sep 3 12:16:46 2004

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

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