gerrit/gerrit-reviewdb
Dave Borowitz 5dd9c1ac98 Notedb: Unify subject and patch set handling
When inserting patch sets, pass in a RevWalk along with the commit
SHA-1 so we can ensure the body is parsed. Set the subject implicitly
when we add a new patch set; always do this, even if the subject
matches the previous subject.

When parsing patch sets, we have to still parse the subject separately
from the patch set, since there is no subject field on PatchSet. But
we can use a single setter on Change to set the current patch set ID,
subject, and original subject together as a batch, rather than going
through PatchSetInfo.

Change-Id: If37c4990e2e5888d5e87bd5c34a821e59186ab6d
2016-01-26 08:01:35 -05:00
..
src Notedb: Unify subject and patch set handling 2016-01-26 08:01:35 -05:00
BUCK BatchUpdate: Key ChangeUpdates by patch set 2016-01-13 18:06:16 -05:00