PatchSetInserter must reindex the updated change

Bug: issue 2281
Change-Id: Ied4e4a95f14d61b7832197eb81af5c3aec48a920
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-11-27 08:16:28 +01:00
committed by Edwin Kempin
parent 6b018061eb
commit 2de412bee7

View File

@@ -317,7 +317,7 @@ public class PatchSetInserter {
db.rollback();
}
CheckedFuture<?, IOException> f =
mergeabilityChecker.updateAndIndexAsync(change);
mergeabilityChecker.updateAndIndexAsync(updatedChange);
if (runHooks) {
hooks.doPatchsetCreatedHook(updatedChange, patchSet, db);
}