Merge "Mark ALREADY_MERGED changes as merged in the DB and run hooks" into stable-2.7

This commit is contained in:
Dave Borowitz
2013-09-18 17:01:15 +00:00
committed by Gerrit Code Review

View File

@@ -599,7 +599,7 @@ public class MergeOp {
if (rw.isMergedInto(commit, branchTip)) {
commit.statusCode = CommitMergeStatus.ALREADY_MERGED;
try {
setMergedPatchSet(chg.getId(), ps.getId());
setMerged(chg, null);
} catch (OrmException e) {
log.error("Cannot mark change " + chg.getId() + " merged", e);
}