result.setResult( "Repository [" + repositoryName + "] does not exist" );
return result;
}
OrganizationalUnit organizationalUnit = new OrganizationalUnitImpl( organizationalUnitName, null );
GitRepository repo = new GitRepository( repositoryName );
try {
organizationalUnitService.removeRepository( organizationalUnit,
repo );
} catch ( IllegalArgumentException e ) {
result.setStatus( JobStatus.BAD_REQUEST );