addedWithHistory = SVNProperty.booleanValue(entry.getPropertyValue(SVNProperty.COPIED));
    static SVNStatus createStatus(ISVNEntry entry, long remoteRevision, int remoteContents, int remoteProps, String parentURL) throws SVNException {        int propStatus = SVNStatus.NOT_MODIFIED;        if (entry.getPropertyValue(SVNProperty.PROP_REJECT_FILE) != null) {            propStatus = SVNStatus.CONFLICTED;        } else if (entry.isPropertiesModified()) {            propStatus = SVNStatus.MODIFIED;        }         int contentsStatus = SVNStatus.NOT_MODIFIED;        boolean addedWithHistory = false;        if (entry.getPropertyValue(SVNProperty.CONFLICT_OLD) != null ||             entry.getPropertyValue(SVNProperty.CONFLICT_NEW) != null ||            entry.getPropertyValue(SVNProperty.CONFLICT_WRK) != null) {            contentsStatus = SVNStatus.CONFLICTED;        } else if (entry.isMissing()) {            contentsStatus = SVNStatus.MISSING;        } else if (entry.isScheduledForAddition() && entry.isScheduledForDeletion()) {             contentsStatus = SVNStatus.REPLACED;        } else if (entry.isScheduledForAddition()) {            contentsStatus = SVNStatus.ADDED;            addedWithHistory = SVNProperty.booleanValue(entry.getPropertyValue(SVNProperty.COPIED));        } else if (entry.isScheduledForDeletion()) {            contentsStatus = SVNStatus.DELETED;        } else if (!entry.isDirectory() && entry.asFile().isContentsModified()) {            contentsStatus = SVNStatus.MODIFIED;        }                boolean isSwitched = SVNReporterBaton.isSwitched(parentURL, entry);        long revision = SVNProperty.longValue(entry.getPropertyValue(SVNProperty.REVISION));        long wcRevision = SVNProperty.longValue(entry.getPropertyValue(SVNProperty.COMMITTED_REVISION));        if (remoteRevision < 0) {            remoteRevision = wcRevision;        }        boolean isDir = SVNProperty.KIND_DIR.equals(entry.getPropertyValue(SVNProperty.KIND));        SVNStatus status = new SVNStatus(entry.getPath(), propStatus, contentsStatus, revision, wcRevision, remoteRevision, remoteContents, remoteProps, addedWithHistory, isSwitched, isDir, null);        if (entry.getPropertyValue(SVNProperty.INCOMPLETE) != null) {            status.setIncomplete(true);        }        return status;    }