Implement binary files support for Mercurial.
Review Request #13610 — Created March 4, 2024 and submitted
This change implements the get_file_content and get_file_size methods
for the Mercurial client backend.Additionally, this changes the log methods to always use
{node}
instead of{node|short}
. We had a mix (individual commits were using
the full node SHA, while the cumulative diff was using the short form),
which was causing issues with file uploads--we'd upload a file for the
commit version with the full SHA revision, and then not find it because
the cumulative diff was using the short SHA.
- Ran unit tests.
- Uploaded a variety of revisions including binary files. Saw that
everything worked correctly.
Summary | ID |
---|---|
fbae529dfe7465670ffc226b658d0092d8828468 |
- Commits:
-
Summary ID 6170a01cb0ec5f908448de8a32e13953078af7ca 6468061ca8f5cd0fb84d74d521b178492f98e8a2 - Diff:
-
Revision 2 (+126 -8)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.