[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 05 Sep 2013 19:20:23 +0200

On 04.09.2013 22:43, Sergey Azarkevich wrote:
>>
>
> > 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.

The default should be empty - after all you want to exclude stuff,
that's why you get to that dialog.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3064012
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-05 19:20:31 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.