Add Subversion unit tests for diffing/patching empty files.
Review Request #12630 — Created Sept. 23, 2022 and submitted
Information | |
---|---|
chipx86 | |
RBTools | |
release-4.x | |
Reviewers | |
rbtools | |
We have code in
SVNClient
for adding empty hunk info to added/deleted
empty files, instead of just providingIndex:
lines, but this never
had any test coverage.To ensure we have proper Subversion diff coverage, this change adds
missing unit tests for diffs and patching, covering both the added and
deleted files.This required a new commit in the test Subversion repository, adding an
empty file we could delete for these tests.
Unit tests pass.
Summary | |
---|---|
Change Summary:
- Updated to set default capabilities for empty files for the client, and updated tests accordingly.
- Added tests for applying patches with empty files.
Summary: |
|
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||||||||||||||||||||
Commits: |
|
||||||||||||||||||||||||||||||||||||
Diff: |
Revision 2 (+450 -12) |