ChangeScreen2: Recompute changeMerge.test on display
Add a new /mergeable REST API to compute the mergeable flag
when displaying a change in ChangeScreen2. This allows the
UI to pick up the most recent information rather than relying
on the potentially stale value observed in the ChangeInfo.
Since the merge test requires the submit type these can be
combined together and reported as one unit when /mergeable
is requested by the client.
Change-Id: Ibc44c322fb4848a45f7f9ed3722ac6a6a6e73fea
14 files changed