Merge "Fix: Wrong ps/rev in change-merged stream-event"
This commit is contained in:
@@ -900,6 +900,7 @@ public class MergeOp {
|
||||
|
||||
final ObjectId id = commit(m, mergeCommit);
|
||||
final CodeReviewCommit newCommit = (CodeReviewCommit) rw.parseCommit(id);
|
||||
final Change oldChange = n.change;
|
||||
|
||||
n.change =
|
||||
db.changes().atomicUpdate(n.change.getId(),
|
||||
@@ -929,6 +930,9 @@ public class MergeOp {
|
||||
}
|
||||
});
|
||||
|
||||
this.submitted.remove(oldChange);
|
||||
this.submitted.add(n.change);
|
||||
|
||||
if (approvalList != null) {
|
||||
for (PatchSetApproval a : approvalList) {
|
||||
db.patchSetApprovals().insert(
|
||||
|
||||
Reference in New Issue
Block a user