Display commits in the diffviewer based on the selected revision
Review Request #6933 — Created Feb. 11, 2015 and submitted — Latest diff uploaded
|chipx86, mike_conley, smacleod|
DiffViewerViewnow provides information about the DiffCommits on
the selected revision. The
DiffViewerPageViewand associated models
have been updated to parse this information. The information on
DiffCommits is shown in the diffviewer now via the
which renders a table similar to the
DiffCommitListFieldon a review
When the diff revision slider is moved to select a diff revision, the
DiffCommitListFieldwill automatically update and populate the table
with information from the individual diff commits pertaining to the
selected revision. If the selected diff revision does not have any
commits, then the table will be hidden until a revision is selected that
does have associated commits.
Manually verified the following:
- Selecting the base and a diff revision that had commits displayed the
- Selecting the base and a diff revision that did not have commits did
not display the table.
- Switching from one diff revision to another with different commits
changed the table to display the new commits.