Add support for -X to the Bazaar SCM Client.
Review Request #6349 — Created Sept. 20, 2014 and submitted — Latest diff uploaded
Bazaar now supports excluding files from diffs and posts via
rbtools.utils.diffs.filter_diff
, which looks through the
output of bzr diff for lines indicating the start of a file's
diff. If the file specified matches any pattern, that file's
diff is excluded from the resulting diff or post.Add a test for checking the result of the BazaarClient's diff
with file exclusion.
Unit tests pass.
Ran
rbt dff -X ..
in a Bazaar repository and got the specified file was
not included.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
docs/rbtools/rbt/commands/diff.rst |
---|
docs/rbtools/rbt/commands/post.rst |
---|
rbtools/clients/bazaar.py |
---|
rbtools/clients/tests.py |
---|