• 
      

    Validate the diff revision argument in rbt info.

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

    Information

    RBTools
    master

    Reviewers

    A non-numeric revision was sent to the API as-is. Review Board answered
    with its HTML 404 page, and the whole page was printed as the error.
    The revision is now parsed as an integer, with a clear error if that
    fails.

    Ran rbt info with a review request an a non-numeric diff revision. Saw
    that I got an error instead of a bunch of HTML output.

    Summary ID
    Validate the diff revision argument in rbt info.
    A non-numeric revision was sent to the API as-is. Review Board answered with its HTML 404 page, and the whole page was printed as the error. The revision is now parsed as an integer, with a clear error if that fails. Testing Done: Ran `rbt info` with a review request an a non-numeric diff revision. Saw that I got an error instead of a bunch of HTML output.
    znrmvltynkzpxowkuoqnrponvxvrkvvv
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (2dddd76)