Fix generated links for DiffCommit resources
Review Request #7132 — Created March 28, 2015 and submitted — Latest diff uploaded
Fix generated links for DiffCommit resources
Previously, the generated links for the
DiffCommitResource
and
DraftDiffCommitResource
were being overridden by the resources for
the parentDiffResource
orDraftDiffResource
, respectively. Now,
only thefiles
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.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
reviewboard/webapi/resources/diff_commit.py |
---|