• 
      

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

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

    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
    maubin
    1. Ship It!
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (282da71)