• 
      

    Remove the commit ID on a review request when discarded.

    Review Request #6263 — Created Aug. 25, 2014 and submitted

    Information

    Review Board
    release-2.0.x
    4b2b526...

    Reviewers

    When posting a change for review with a commit ID and then discarding
    it, that discarded review request still retains the commit ID. This
    results in later conflicts with newly posted review requests, which
    don't appear to break until the draft is published.

    We now always remove the commit ID from the review request in order to
    prevent any conflicts. While this is removing some history, it's history
    that causes more harm than good and, since the review request is
    discarded, it's not likely that the commit ID association is needed.

    Unit tests pass.

    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          reviewboard/testing/testcase.py
          reviewboard/reviews/tests.py
          reviewboard/reviews/models/review_request.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/testing/testcase.py
          reviewboard/reviews/tests.py
          reviewboard/reviews/models/review_request.py
      
      
    2. 
        
    david
    1. Ship It!

    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (4b2b526)