byte[] propBytes = SVNPropertyValue.getPropertyAsBytes(propertyValue);
byte[] bytes = SVNCommandUtil.runEditor(getSVNEnvironment(), getSVNEnvironment().getEditorCommand(), propBytes, "svn-prop");
SVNPropertyValue newPropertyValue = SVNPropertyValue.create(propertyName, bytes);
if (newPropertyValue != null && !newPropertyValue.equals(propertyValue)) {
checkBooleanProperty(propertyName, newPropertyValue);
client.doSetProperty(target.getFile(), propertyName, newPropertyValue,
getSVNEnvironment().isForce(), SVNDepth.EMPTY, this, null);
String message = "Set new value for property ''{0}'' on ''{1}''";
String path = SVNCommandUtil.getLocalPath(targetName);
message = MessageFormat.format(message, new Object[]{propertyName, path});
getSVNEnvironment().getOut().println(message);