• 
      

    Fix rbt info crashing when a review request has no published diffs.

    Review Request #15298 — Created Sept. 14, 2026 and submitted

    Information

    RBTools
    master

    Reviewers

    Review requests with a repository but no published diffs made rbt info
    request diff revision 0, which failed with an uncaught API error. This
    now skips the diff section in that case, and reports a clear error when
    a requested diff revision does not exist.

    • Ran rbt info on an attachment-only review request with no diffs.
    • Ran rbt info on a review request with diffs and passed in the
      optional diff revision param with a revision that didn't exist.
    Summary ID
    Fix rbt info crashing when a review request has no published diffs.
    Review requests with a repository but no published diffs made `rbt info` request diff revision 0, which failed with an uncaught API error. This now skips the diff section in that case, and reports a clear error when a requested diff revision does not exist. Testing Done: Ran `rbt info` on an attachment-only review request with no diffs.
    nuqnzklqrpvyopsmzrpmsmzuruoxytsm
    Description From Last Updated

    This needs a Version Added.

    maubin maubin

    This needs a Version Added.

    maubin maubin
    maubin
    1. 
        
    2. rbtools/commands/tests/test_info.py (Diff revision 1)
       
       
      Show all issues

      This needs a Version Added.

    3. rbtools/commands/tests/test_info.py (Diff revision 1)
       
       
      Show all issues

      This needs a Version Added.

    4. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (0d0353f)