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

Re: [PATCH] Sparse checkout: items selection dialog

From: Sergey Azarkevich <azarkevich_at_gmail.com>
Date: Wed, 4 Sep 2013 23:43:55 +0300

>

> > 1. When tree item inserted into tree, it inherit parent check state
> >
> > I think it is logical - expand checked item and see all children
> > checked. Expand unchecked item and see all items unchecked
> >
> > As side effect all items initially checked (inherit root check state).
>
> Use this instead:
> // inherit parents check state
> if (m_RepoTree.GetRootItem() == hParent)
> m_RepoTree.SetCheck(hNewItem, false);
> else
> m_RepoTree.SetCheck(hNewItem, m_RepoTree.GetCheck(hParent));
>
>
Is it principal position - empty default selection? Or it is only way for
avoid mentioned 'side effect'?
From my point of view 'Fully recursive' default selection is more logical
and this side effect is desired.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-05 01:34:49 CEST

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.