Author: gstein
Date: Sun Oct 22 04:55:26 2023
New Revision: 1913183
URL: http://svn.apache.org/viewvc?rev=1913183&view=rev
Log:
minor change to reduce diffs in a future rev
Modified:
subversion/trunk/tools/hook-scripts/mailer/mailer.py
Modified: subversion/trunk/tools/hook-scripts/mailer/mailer.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/mailer.py?rev=1913183&r1=1913182&r2=1913183&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/mailer.py (original)
+++ subversion/trunk/tools/hook-scripts/mailer/mailer.py Sun Oct 22 04:55:26
2023
@@ -837,7 +837,10 @@ def generate_list(changekind, changelist
selection = lambda change: change.action == svn.repos.CHANGE_ACTION_DELETE
elif changekind == 'M':
selection = lambda change: change.action == svn.repos.CHANGE_ACTION_MODIFY
+ return _gather_paths(selection, changelist, paths, in_paths)
+
+def _gather_paths(selection, changelist, paths, in_paths):
items = [ ]
for path, change in changelist:
if selection(change) and (path in paths) == in_paths: