• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28232 (tree)
Time2018-05-26 00:29:25
Authorstefankueng

Log Message

When trying to show a diff for added files, only use DiffSelectedFile() if there's only one file selected. If multiple files are selected, fall back to DoDiffFromLog() with the same revision twice.

Change Summary

Incremental Difference

--- trunk/src/Changelog.txt (revision 28231)
+++ trunk/src/Changelog.txt (revision 28232)
@@ -15,6 +15,9 @@
1515 - BUG: Wrong behavior for 'lock' error. (Patrick Steinhardt)
1616 - CHG: Improved labels and text in dialog when
1717 creating a copy in repo browser. (Stefan)
18+- BUG: When showing multiple diffs from the log
19+ dialog with added files, only the first
20+ one was shown multiple times. (Stefan)
1821
1922 Version 1.10.0
2023 See the release notes here:
--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28231)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28232)
@@ -7233,7 +7233,10 @@
72337233 OnOutOfScope(CoUninitialize());
72347234 this->EnableWindow(FALSE);
72357235 OnOutOfScope(this->EnableWindow(TRUE); this->SetFocus());
7236- DiffSelectedFile(ignoreprops);
7236+ if (pCmi->ChangedLogPathIndices.size() > 1)
7237+ DoDiffFromLog(selIndex, pCmi->Rev1, pCmi->Rev1, false, false, ignoreprops);
7238+ else
7239+ DiffSelectedFile(ignoreprops);
72377240 };
72387241 new async::CAsyncCall(f, &netScheduler);
72397242 }
Show on old repository browser