Handle uploading source versions of binaries when needed.
Review Request #13608 — Created March 4, 2024 and submitted
When a change involving binary files is uploaded that requires a parent
diff, we need to upload both the modified and source versions of the
binary file (since the server can't fetch the source version from the
repository). This change handles that, with the newsource_file
parameter to the diff file attachments API.
Uploaded changes to binary files that required a parent diff.
Saw the correct version of the source file.
Summary | ID |
---|---|
14e09be42208b81cb174732e192e95d2da443800 |
- Commits:
-
Summary ID 6f057021ad7535213587bc8eedd5c14882e91e8d be2074f852432ebe140be0f96af725ff3bc11529 - Diff:
-
Revision 2 (+118 -10)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
Add mimetype to debug log message.
- Commits:
-
Summary ID be2074f852432ebe140be0f96af725ff3bc11529 14e09be42208b81cb174732e192e95d2da443800 - Diff:
-
Revision 3 (+120 -10)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.