Refactor SVN's filter diff into a utility function
Review Request #6357 — Created Sept. 22, 2014 and submitted
Move
SVNClient._filter_diff
intorbtools.utils.diffs
so that it may be
used by other SCMClient instances that require filtering.
Running
rbt diff -X file
with multiple files modified yields the diff
for all files modified exceptfile
.
Description | From | Last Updated |
---|---|---|
'fnmatch' imported but unused |
reviewbot |
- Change Summary:
-
Remove import of
fnmatch
from svn.pyUse a generator expression instead of a list comprehension
Remove comment that accidentally got copied from svn-specific code.
- Commit:
-
0fbe1c8488aaad5b49c9944f1f171ee5afc8998db188fcacba1f48ccde88100aeacfe2779e0454c2
- Diff:
-
Revision 2 (+36 -30)