Files
gerrit/plugins
Edwin Kempin 3c377580a2 ExportReviewNotes: Load changes from notedb if enabled
This requires a new method in ChangeNotes.Factory to get changes notes
by project.

CreateReviewNotes#createCodeReviewNote needs the change notes, so pass
in the change notes, instead of passing in the change and loading
the change notes a second time.

ChangeNotes.Factory doesn't support batch loading of changes yet. Due
to this batch loading changes still accesses the database directly
when notedb is disabled. For changes loaded in such a batch we want to
instantiate ChangeNotes without reloading the change. Add a special
method for this to ChangeNotes.Factory. This method is not supposed to
be used when notedb is enabled.

Change-Id: Ifd01276a607fb5ab4a36322112d0b7aaa0f0ff70
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-02-16 09:31:07 +00:00
..
2016-01-25 11:38:24 +01:00
2016-02-10 09:22:37 +01:00