Add Mercurial binary file patching.

Review Request #14718 — Created Nov. 29, 2025 and updated

Information

RBTools
master

Reviewers

This change adds support to the MercurialPatcher for applying binary
files as part of changes. This is relatively straightforward for
Mercurial, where we just have to let hg know about adds, moves, and
deletes.

  • Ran unit tests.
  • Used rbt patch with a bunch of changes that did various file
    operations on binary files.
Summary ID
Add Mercurial binary file patching.
This change adds support to the `MercurialPatcher` for applying binary files as part of changes. This is relatively straightforward for Mercurial, where we just have to let hg know about adds, moves, and deletes. Testing Done: - Ran unit tests. - Used `rbt patch` with a bunch of changes that did various file operations on binary files.
omnrmqxwlqtokvlznzlnpxymzulxuvpw
Description From Last Updated

line too long (83 > 79 characters) Column: 80 Error code: E501

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
Review request changed
Commits:
Summary ID
Add Mercurial binary file patching.
This change adds support to the `MercurialPatcher` for applying binary files as part of changes. This is relatively straightforward for Mercurial, where we just have to let hg know about adds, moves, and deletes. Testing Done: - Ran unit tests. - Used `rbt patch` with a bunch of changes that did various file operations on binary files.
omnrmqxwlqtokvlznzlnpxymzulxuvpw
Add Mercurial binary file patching.
This change adds support to the `MercurialPatcher` for applying binary files as part of changes. This is relatively straightforward for Mercurial, where we just have to let hg know about adds, moves, and deletes. Testing Done: - Ran unit tests. - Used `rbt patch` with a bunch of changes that did various file operations on binary files.
omnrmqxwlqtokvlznzlnpxymzulxuvpw

Checks run (2 succeeded)

flake8 passed.
JSHint passed.