Fix generated links for DiffCommit resources

Review Request #7132 — Created March 28, 2015 and submitted

Information

Review Board
dvcs
6ded1ed...

Reviewers

Fix generated links for DiffCommit resources

Previously, the generated links for the DiffCommitResource and
DraftDiffCommitResource were being overridden by the resources for
the parent DiffResource or DraftDiffResource, respectively. Now,
only the files link is taken from the parent resource and the other
links are not overriden

Ran unit test.

Checked the links of a DiffCommitResource and saw that they were
correct.

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