boolean isExternal = isExternal(dir.getRelativePath(myAdminInfo.getAnchor()) + "/" + name);
String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isExternal = isExternal(path);
    private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns,             boolean noIgnore, ISVNStatusHandler handler) throws SVNException {        boolean isIgnored = isIgnored(ignorePatterns, name);        boolean isExternal = isExternal(dir.getRelativePath(myAdminInfo.getAnchor()) + "/" + name);        SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored);        if (status != null) {            if (isExternal) {                status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL);            }            if (handler != null && noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null) {                handler.handleStatus(status);            }        }    }