• 
      

    Fix sending diff commit information from context API

    Review Request #8281 — Created July 11, 2016 and submitted

    Information

    Review Board
    dvcs
    96d739b...

    Reviewers

    The context API was only sending information about the commits when the
    base-commit-id and tip-commit-id arguments were both present.
    However, this is the opposite behaviour of what we desire. We do not
    need information about commits when we already have it. Instead, we
    require it when we know nothing about the commits.

    Previously, the diff commit index would not update when switching
    revisions. It now switches revisions correctly.

    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          reviewboard/webapi/resources/diff_context.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/webapi/resources/diff_context.py
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to dvcs (1c32029)