function parseDelete()에 설명 된 것처럼 Gerrit 응답처럼 보입니다.
private void parseDelete(final ReceiveCommand cmd) {
RefControl ctl = projectControl.controlForRef(cmd.getRefName());
if (ctl.canDelete()) {
// Let the core receive process handle it
} else {
reject(cmd, "can not delete references");
}
}
이것은 push policy controlled by Gerrit에 대한 링크입니다.
This category controls how users are allowed to upload new commits to projects in Gerrit.
Deletion of existing branches is rejected. This is the safest mode as commits cannot be discarded.
따라서이 Gerrit 범주에서 "강제 옵션"을 활성화하지 않으면 해당 서버에서 분기를 삭제할 수 없습니다.