Merge "PatchSetInserter must reindex the updated change"

This commit is contained in:
Edwin Kempin
2013-11-27 08:29:53 +00:00
committed by Gerrit Code Review

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);
}