Merge "Create ref for new patch set on direct push (second try)"

This commit is contained in:
David Pursehouse
2013-01-09 18:06:23 -08:00
committed by Gerrit Code Review

View File

@@ -1745,6 +1745,9 @@ public class ReceiveCommits {
markChangeMergedByPush(db, this);
}
if (cmd.getResult() == NOT_ATTEMPTED) {
cmd.execute(rp);
}
replication.fire(project.getNameKey(), newPatchSet.getRefName());
hooks.doPatchsetCreatedHook(change, newPatchSet, db);
if (mergedIntoRef != null) {