propertySet(path, name, SVNPropertyValue.create(value), depth, force, changelists, revprops);
}
private void propertySet(String path, String name, SVNPropertyValue value, int depth, boolean force,
String[] changelists, Map revprops) throws ClientException {
SVNWCClient client = getSVNWCClient();
if (isURL(path)) {
try {
SVNProperties revisionProperties = revprops == null ? null : SVNProperties.wrap(revprops);
client.setCommitHandler(createCommitMessageHandler(true));
client.doSetProperty(SVNURL.parseURIEncoded(path), name, value, SVNRevision.HEAD,
"", revisionProperties, force, ISVNPropertyHandler.NULL);
} catch (SVNException e) {
throwException(e);
} finally {
if (client != null) {
client.setCommitHandler(null);
}
resetLog();
}
} else {
try {
client.doSetProperty(new File(path).getAbsoluteFile(), name, value, force,
JavaHLObjectFactory.getSVNDepth(depth), ISVNPropertyHandler.NULL,
JavaHLObjectFactory.getChangeListsCollection(changelists));
} catch (SVNException e) {
throwException(e);
} finally {