use of com.google.gerrit.server.project.SetHead.Input in project gerrit by GerritCodeReview.
the class SetHeadCommand method run.
@Override
protected void run() throws Exception {
Input input = new SetHead.Input();
input.ref = newHead;
try {
setHead.apply(new ProjectResource(project), input);
} catch (UnprocessableEntityException e) {
throw die(e);
}
}
Aggregations