Refactor DiffProcessorMixin
Review Request #7014 — Created March 5, 2015 and submitted
The
DiffProcessorMixinhas been refactored into two classes: the
DiffManagerBaseclass, which is a base class for the creation of
DiffSets andDiffCommits; and theDiffProcessor, which handles
the creation ofFileDiffsfrom raw diffs.The logic is separated into these two classes so that in a future
patch theDiffCommitManagercan provide a file existence checker
based on the currently existingDiffCommits in aDiffSetfor diff
file validation.
Ran unit tests.
- Change Summary:
 - 
    
Whoops!
 - Commit:
 - 
    840ff405b547b180987b56962f8d2a6dc39bff1ae9275adbff82757110ee4714504adef54a355d45
 - Diff:
 - 
    
Revision 2 (+197 -177)
 
 
Tool: Pyflakes Processed Files: reviewboard/diffviewer/managers.py reviewboard/hostingsvcs/service.py Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/managers.py reviewboard/hostingsvcs/service.py