Allow finding ancestors in commit intervals
Review Request #7326 — Created May 22, 2015 and submitted
The
find_oldest_filediff_ancestor
utility function can now find
ancestorFileDiff
s in commit intervals, as well as the oldest
ancestor commit. As such, it has been renamed to
find_ancestor_filediff
. Unit tests have been added for both the new
and old behaviour of this function.A new utility function,
find_ancestor_commit_ids
, was added to allow
this behaviour. A unit test has been added for this behaviour.
Ran unit tests.
Description | From | Last Updated |
---|---|---|
local variable 'f2' is assigned to but never used |
reviewbot | |
local variable 'f3' is assigned to but never used |
reviewbot | |
local variable 'f4' is assigned to but never used |
reviewbot | |
local variable 'f1' is assigned to but never used |
reviewbot | |
Col: 40 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 40 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 9 E303 too many blank lines (2) |
reviewbot | |
local variable 'f2' is assigned to but never used |
reviewbot | |
Col: 9 E303 too many blank lines (2) |
reviewbot | |
Remove this |
brennie |
-
Tool: Pyflakes Processed Files: reviewboard/diffviewer/diffutils.py reviewboard/diffviewer/tests.py reviewboard/diffviewer/chunk_generator.py reviewboard/diffviewer/commitutils.py Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/diffutils.py reviewboard/diffviewer/tests.py reviewboard/diffviewer/chunk_generator.py reviewboard/diffviewer/commitutils.py
-
Tool: Pyflakes Processed Files: reviewboard/diffviewer/diffutils.py reviewboard/diffviewer/tests.py reviewboard/diffviewer/chunk_generator.py reviewboard/diffviewer/commitutils.py Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/diffutils.py reviewboard/diffviewer/tests.py reviewboard/diffviewer/chunk_generator.py reviewboard/diffviewer/commitutils.py