Revision | 29469 (tree) |
---|---|
Zeit | 2022-10-26 02:05:43 |
Autor | stefankueng |
fix filtering revision nodes
@@ -2,6 +2,8 @@ | ||
2 | 2 | - BUG: context menu for a directory background in |
3 | 3 | Win11 when not using the first tab in explorer |
4 | 4 | used the wrong path. (Stefan) |
5 | +- BUG: the revision graph did not show the HEAD revision | |
6 | + if not all revisions were shown. (Stefan) | |
5 | 7 | |
6 | 8 | Version 1.14.5 |
7 | 9 | - BUG: 1.14.4 was wrongly linked against svn 1.14.1 |
@@ -1,6 +1,6 @@ | ||
1 | 1 | // TortoiseSVN - a Windows shell extension for easy version control |
2 | 2 | |
3 | -// Copyright (C) 2003-2008, 2021 - TortoiseSVN | |
3 | +// Copyright (C) 2003-2008, 2021-2022 - TortoiseSVN | |
4 | 4 | |
5 | 5 | // This program is free software; you can redistribute it and/or |
6 | 6 | // modify it under the terms of the GNU General Public License |
@@ -34,10 +34,11 @@ | ||
34 | 34 | { |
35 | 35 | ICopyFilterOption::EResult result = ICopyFilterOption::KEEP_NODE; |
36 | 36 | |
37 | - for (const auto& option : options) | |
37 | + for (auto iter = options.begin(), end = options.end(); | |
38 | + (iter != end) && (result == ICopyFilterOption::KEEP_NODE); | |
39 | + ++iter) | |
38 | 40 | { |
39 | - result = option->ShallRemove(node); | |
41 | + result = (*iter)->ShallRemove(node); | |
40 | 42 | } |
41 | - | |
42 | 43 | return result; |
43 | 44 | }; |