• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision29469 (tree)
Zeit2022-10-26 02:05:43
Autorstefankueng

Log Message

fix filtering revision nodes

Ändern Zusammenfassung

Diff

--- trunk/src/Changelog.txt (revision 29468)
+++ trunk/src/Changelog.txt (revision 29469)
@@ -2,6 +2,8 @@
22 - BUG: context menu for a directory background in
33 Win11 when not using the first tab in explorer
44 used the wrong path. (Stefan)
5+- BUG: the revision graph did not show the HEAD revision
6+ if not all revisions were shown. (Stefan)
57
68 Version 1.14.5
79 - BUG: 1.14.4 was wrongly linked against svn 1.14.1
--- trunk/src/TortoiseProc/RevisionGraph/CopyFilterOptions.cpp (revision 29468)
+++ trunk/src/TortoiseProc/RevisionGraph/CopyFilterOptions.cpp (revision 29469)
@@ -1,6 +1,6 @@
11 // TortoiseSVN - a Windows shell extension for easy version control
22
3-// Copyright (C) 2003-2008, 2021 - TortoiseSVN
3+// Copyright (C) 2003-2008, 2021-2022 - TortoiseSVN
44
55 // This program is free software; you can redistribute it and/or
66 // modify it under the terms of the GNU General Public License
@@ -34,10 +34,11 @@
3434 {
3535 ICopyFilterOption::EResult result = ICopyFilterOption::KEEP_NODE;
3636
37- for (const auto& option : options)
37+ for (auto iter = options.begin(), end = options.end();
38+ (iter != end) && (result == ICopyFilterOption::KEEP_NODE);
39+ ++iter)
3840 {
39- result = option->ShallRemove(node);
41+ result = (*iter)->ShallRemove(node);
4042 }
41-
4243 return result;
4344 };
Show on old repository browser