Add REST API for /restore
Changes can be restored via REST api. The web UI now uses this API, and the ssh command line uses the same backend. Change-Id: I7a7e8706a52289f87ace5a60ef3bcd6dd2a2dbde
This commit is contained in:

committed by
Shawn O. Pearce

parent
aab01c4701
commit
117a39b316
@@ -34,11 +34,6 @@ public interface ChangeManageService extends RemoteJsonService {
|
||||
void createNewPatchSet(final PatchSet.Id patchSetId, final String newCommitMessage,
|
||||
final AsyncCallback<ChangeDetail> callback);
|
||||
|
||||
@Audit
|
||||
@SignInRequired
|
||||
void restoreChange(PatchSet.Id patchSetId, String message,
|
||||
AsyncCallback<ChangeDetail> callback);
|
||||
|
||||
@Audit
|
||||
@SignInRequired
|
||||
void publish(PatchSet.Id patchSetId, AsyncCallback<ChangeDetail> callback);
|
||||
|
Reference in New Issue
Block a user