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:
Dave Borowitz
2013-07-17 12:06:10 -07:00

View File

@@ -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) {