Serialize source/dest file information in validation_info
Review Request #10234 — Created Oct. 16, 2018 and discarded — Latest diff uploaded
The
validation_info
payloads now contain source and/or destination
information (depending on the operation, e.g., removals don't have
destinations since the file no longer exists).This will allow us to compare the validation info to a cumulative diff.
Ran unit tests.
reviewboard/diffviewer/commit_utils.py |
---|
reviewboard/diffviewer/tests/test_commit_utils.py |
---|
reviewboard/diffviewer/tests/test_forms.py |
---|
reviewboard/webapi/tests/test_draft_diffcommit.py |
---|
reviewboard/webapi/tests/test_validate_diffcommit.py |
---|