Add -X support for the svn SCMClient.
Review Request #6345 — Created Sept. 20, 2014 and submitted — Latest diff uploaded
The svn backend now supports excluding files through a
filterdiff-esque method:SVNClient._filter_diff
. This
method looks through the output ofsvn diff
for lines
that begin withIndex:
that mark the beginning of a
new file in the diff. If the file matches any given
patterns, it will not yield the lines corresponding to
that file's diff.
Ran
rbt diff -X ...
in an SVN repository and successfully
excluded files and empty files.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
docs/rbtools/rbt/commands/diff.rst |
---|
docs/rbtools/rbt/commands/post.rst |
---|
rbtools/clients/svn.py |
---|