Add DiffCommit model for review requests with commit histories.
Review Request #6815 — Created Jan. 20, 2015 and submitted — Latest diff uploaded
|6933, 6931, 6816, 6934|
|chipx86, mike_conley, smacleod|
DiffSetmodel has been updated to be able to contain several
DiffCommitsin addition to
represents a single commit in distributed version control system
DiffCommithas one or more
FileDiffsthat belong to
it (as well as the
Add an evolution to add a foreign key on the
FileDiffmodel to point
to an optional
DiffCommitmodel. Also add an evolution to add a
DiffSetmodel that counts the number
DiffCommitsit currently has.
reviewboard.diffviewer.adminmodule to add the ability to
DiffCommitscan be as inline
models of the
DiffSetmodel and have
FileDiffas an inline model.
Add unit tests for creating empty
DiffSetsas well as creating
.difffiles and uploading via the
ValidateDiffResourcewith respect to the new refactoring
Unit tests pass.
Applied evolution successfully.