flake8
passed.
JSHint
passed.
Review Request #10776 — Created Nov. 1, 2019 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-4.0.x | |
10775 | |
67e8edf... | |
Reviewers | |
reviewboard | |
This adds
FileDiff.get_repository()
, which returns theRepository
associated with aFileDiff
. At the moment, this returns
self.diffset.repository
, preserving the existing behavior completely.In a future change, it will be possible for a
FileDiff
to be mapped to
a separate repository, paving the way for multi-repository diffs.
Unit tests pass.