• 
      

    Fix usage of `self.json.append` in `rbt patch`.

    Review Request #15156 — Created July 7, 2026 and updated

    Information

    RBTools
    master

    Reviewers

    When there were conflicts, rbt patch called self.json.append()
    without first calling self.json.add(..., []). This caused a
    KeyError. This change fixes that up.

    Applied a patch that had some conflicts and saw that things didn't
    crash.

    Summary ID
    Fix usage of `self.json.append` in `rbt patch`.
    When there were conflicts, `rbt patch` called `self.json.append()` without first calling `self.json.add(..., [])`. This caused a `KeyError`. This change fixes that up. Testing Done: Applied a patch that had some conflicts and saw that things didn't crash.
    osktltspsswqssuottqkzpyunnoqkkou
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.