Merge branch 'stable-2.7'
* stable-2.7: Mark ALREADY_MERGED changes as merged in the DB Change-Id: I360c0593948786fe95418f7001b22b58a1eaee92
This commit is contained in:
@@ -603,6 +603,11 @@ public class MergeOp {
|
||||
try {
|
||||
if (rw.isMergedInto(commit, branchTip)) {
|
||||
commit.statusCode = CommitMergeStatus.ALREADY_MERGED;
|
||||
try {
|
||||
setMergedPatchSet(chg.getId(), ps.getId());
|
||||
} catch (OrmException e) {
|
||||
log.error("Cannot mark change " + chg.getId() + " merged", e);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
} catch (IOException err) {
|
||||
|
||||
Reference in New Issue
Block a user