81e07a886c
Use GitRepositoryManager directly to read the commit, rather than going implicitly through PatchSetInfoFactory. This allows a single Repository/RevWalk to eventually be shared by more options in this codepath. We also don't need the ChangeData at all, as we can get everything we need from the ChangeControl. Since more statements may now throw IOException, allow this and other exceptions to propagate up through all the private methods of ChangeJson, only wrapping in OrmException at the top-level public methods. This does result in some code duplication in GetCommit, but it's pretty simple boilerplate. Change-Id: I56a916745576f8f2db4547756605d48008f3dc2d |
||
---|---|---|
.. | ||
src | ||
BUCK |