if (getSVNEnvironment().getMessage() != null || getSVNEnvironment().getFileData() != null || getSVNEnvironment().getRevisionProperties() != null) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CL_UNNECESSARY_LOG_MESSAGE,
"Local, non-commit operations do not take a log message or revision properties");
SVNErrorManager.error(err, SVNLogType.CLIENT);
}
SVNPropertyData property = client.doGetProperty(target.getFile(), propertyName,
SVNRevision.UNDEFINED, SVNRevision.WORKING);
SVNPropertyValue propertyValue = property != null ? property.getValue() : SVNPropertyValue.create("");
byte[] propBytes = SVNPropertyValue.getPropertyAsBytes(propertyValue);
byte[] bytes = SVNCommandUtil.runEditor(getSVNEnvironment(), getSVNEnvironment().getEditorCommand(), propBytes, "svn-prop");
SVNPropertyValue newPropertyValue = SVNPropertyValue.create(propertyName, bytes);