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

Re: LogDlg - Show changes for multiple selection

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 31 May 2013 17:44:43 +0200

On 31.05.2013 06:29, Friedrich Brunzema wrote:
> Here's a proposal for implementing this - one would have a new menu item showing in the Changed Paths [Show changes...] That menu would execute the following:
>
> void CLogDlg::ExecuteMultipleDiffChangedPaths( ContextMenuInfoForChangedPathsPtr pCmi)
> {
> INT_PTR selIndex = 0;
>
> // warn if we exceed Software\\TortoiseSVN\\NumDiffWarning or 10 if not set
> if (!CheckMultipleDiffs(pCmi))
> return;
>
> for ( size_t i = 0; i < pCmi->ChangedLogPathIndices.size(); ++i)
> {
> selIndex = (INT_PTR)pCmi->ChangedLogPathIndices[i];
> // here we get to use the freshly extracted method :-)
> ExecuteDiffChangedPaths(pCmi, selIndex);
> // Safe without sleep?
> }
> }
>
> Playing around with just a few files it seems to work, both in TMerge and External Diff tools like Beyond Compare.

Looks fine.

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=3056669
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-01 02:03: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.