Merge "Create a draft patch set when a draft patch set is rebased" into stable-2.5
This commit is contained in:
@@ -353,6 +353,7 @@ public class ChangeUtil {
|
|||||||
newPatchSet.setCreatedOn(new Timestamp(System.currentTimeMillis()));
|
newPatchSet.setCreatedOn(new Timestamp(System.currentTimeMillis()));
|
||||||
newPatchSet.setUploader(user.getAccountId());
|
newPatchSet.setUploader(user.getAccountId());
|
||||||
newPatchSet.setRevision(new RevId(rebasedCommit.name()));
|
newPatchSet.setRevision(new RevId(rebasedCommit.name()));
|
||||||
|
newPatchSet.setDraft(originalPatchSet.isDraft());
|
||||||
|
|
||||||
final PatchSetInfo info =
|
final PatchSetInfo info =
|
||||||
patchSetInfoFactory.get(rebasedCommit, newPatchSet.getId());
|
patchSetInfoFactory.get(rebasedCommit, newPatchSet.getId());
|
||||||
|
Reference in New Issue
Block a user