Merge "Create ref for new patch set on direct push (second try)"
This commit is contained in:
@@ -1745,6 +1745,9 @@ public class ReceiveCommits {
|
|||||||
markChangeMergedByPush(db, this);
|
markChangeMergedByPush(db, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cmd.getResult() == NOT_ATTEMPTED) {
|
||||||
|
cmd.execute(rp);
|
||||||
|
}
|
||||||
replication.fire(project.getNameKey(), newPatchSet.getRefName());
|
replication.fire(project.getNameKey(), newPatchSet.getRefName());
|
||||||
hooks.doPatchsetCreatedHook(change, newPatchSet, db);
|
hooks.doPatchsetCreatedHook(change, newPatchSet, db);
|
||||||
if (mergedIntoRef != null) {
|
if (mergedIntoRef != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user