Hello,
I saw the TortoiseProc source code, Repository Browser's
"Compare Revisions" is always "--notice-ancestry" mode. It
is different with "svn.exe diff" command. "svn.exe diff"
default is "--ignore-ancestry" mode, unlike "svn.exe merge".
Yes, "svn.exe diff --notice-ancestry" works like "Compare
Revisions".
I'm tring to compile TortoiseProc.exe by VS 2005 Express
to changing "--ignore-ancestry" mode for me, but I couldn't...
So I post my thought of modification point. This will
replace "--notice-ancestry" to "--ignore-ancestry".
TortoiseSVN\src\TortoiseProc\RepositoryBrowser.cpp
in CRepositoryBrowser::ShowContextMenu(...)
(snip)
case ID_POPDIFF:
{
SVNDiff diff(NULL, this->m_hWnd, true);
diff.ShowCompare(url1, GetRevision(), url2, GetRevision());
// above line is always "--notice-ancestry" mode.
// so change diff.ShowCompare argument
// add arg 5, default is SVNRev()
// -> SVNRev()? 0? may ignored in this case?
// add arg 6, default is false
// -> true (ignoreancestry = true)
}
break;
(snip)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Mar 12 16:02:16 2006