SVNErrorManager.error(SVNErrorMessage.create(SVNErrorCode.CL_ARG_PARSING_ERROR,
"Exactly one property name and one file argument required"), SVNLogType.CLIENT);
}
SVNPropertyValue propertyValue = SVNPropertyValue.create(propertyName, getEnvironment().readFromFile(target.getFile()));
SVNURL url = SVNURL.fromFile(repos);
FSRepository repository = (FSRepository) SVNRepositoryFactory.create(url);
long rev = getRevisionNumber(getSVNAdminEnvironment().getStartRevision(), repository.getLatestRevision(), repository);
repository.setRevisionPropertyValue(rev, propertyName, propertyValue,
!getSVNAdminEnvironment().isUsePreRevPropChangeHook(),
!getSVNAdminEnvironment().isUsePostRevPropChangeHook());
}