Button to allow Cherry Picking of a change to another branch.

Built on the cherry pick REST Api.

Change-Id: I1b0211896eada7de12170ac73de60828bcf19d47
This commit is contained in:
Gustaf Lundh
2012-11-28 14:22:36 +01:00
committed by Gerrit Code Review
parent 524dc79abd
commit 849fec9440
8 changed files with 108 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ public class ChangeDetail {
protected boolean allowsAnonymous;
protected boolean canAbandon;
protected boolean canEditCommitMessage;
protected boolean canCherryPick;
protected boolean canPublish;
protected boolean canRebase;
protected boolean canRestore;
@@ -82,6 +83,14 @@ public class ChangeDetail {
canEditCommitMessage = a;
}
public boolean canCherryPick() {
return canCherryPick;
}
public void setCanCherryPick(final boolean a) {
canCherryPick = a;
}
public boolean canPublish() {
return canPublish;
}