Add the DiffCommit model.
Review Request #6766 — Created Jan. 13, 2015 and discarded — Latest diff uploaded
The
DiffSet
model has been updated to be able to contain several
DiffCommit
s in addition toFileDiff
s. TheDiffCommit
model
represents a single commit in distributed version control system
(DVCS). EachDiffCommit
has one or moreFileDiff
s that belong to
it (as well as theDiffSet
).Add an evolution to add a foreign key on the
FileDiff
model to point
to an optionalDiffCommit
model. Also add an evolution to add a
RelationCounterField
to theDiffSet
model that counts the number
of DiffCommits it currently has.Update the
reviewboard.diffviewer.admin
module to add the ability to
view individualDiffCommit
s. TheDiffCommit
s can be as inline
models of theDiffSet
model and haveFileDiff
as an inline model.
Ran unit tests.
Applied evolution successfully.