Allow fetching patch files for individual commits
Review Request #7131 — Created March 28, 2015 and submitted
The patch file for an individual commit is now fetchable by sending the
Accept: text/x-patchheader to theDiffCommitResourceand
DraftDiffCommitResource. This patch is composed of the individual
patches for allFileDiffs in theDiffCommit.
Ran unit tests.
Uploaded a review request with commit history and made an HTTP request
to theDiffCommitResourceAPI endpoint with aAccept: text/x-patch
header. The returned response was a patch file that contained only the
diff information forFileDiffs in that commit.
- Summary:
 - 
    Add timestamp field to the DiffCommit modelAllow fetching patch files for individual commits
 - Description:
 - 
    
- Allow fetching patch files for individual commits
- The patch file for an individual commit is now fetchable by sending the
Accept: text/x-patchheader to theDiffCommitResourceandDraftDiffCommitResource. This patch is composed of the individualpatches for all FileDiffs in theDiffCommit. 
- Change Summary:
 - 
    
Fixup
 - Commit:
 - 
    59f38d01d8042a824179bd472f22ac7278c3dc8a4b3d41fb19dbad38788ce06fe30b414dca3c9f0e
 
 
Tool: Pyflakes Processed Files: reviewboard/diffviewer/parser.py reviewboard/webapi/resources/diff_commit.py Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/parser.py reviewboard/webapi/resources/diff_commit.py