[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: Friedrich Brunzema <brunzefb_at_yahoo.com>
Date: Thu, 30 May 2013 21:29:01 -0700 (PDT)

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.

Friedrich

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-05-31 06:29:05 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.