Publish draft patchsets in UI and SSH

Adds Publish button to draft patchsets in UI and an option to
publish draft patchsets in the review ssh command. Publishing a draft
patchset makes it visible. Publishing a draft patchset in a draft
change irreversibly upgrades the change status to NEW.

Change-Id: I8ad8ed9d69f3f9e876a9288f568ae3e003a0e257
This commit is contained in:
Jason Tsay
2011-07-22 18:42:36 -07:00
committed by Mohan Zhang
parent 172a1fd899
commit 61cdb499e6
10 changed files with 177 additions and 2 deletions

View File

@@ -37,4 +37,7 @@ public interface ChangeManageService extends RemoteJsonService {
@SignInRequired
void restoreChange(PatchSet.Id patchSetId, String message,
AsyncCallback<ChangeDetail> callback);
@SignInRequired
void publish(PatchSet.Id patchSetId, AsyncCallback<ChangeDetail> callback);
}