SVNEntry parentEntry = getEntry(path.getParentFile(), false);
SVNEntry2 parentEntry = getEntry(path.getParentFile(), false);
    public boolean isWCRoot(File path) throws SVNException {        SVNEntry entry = getEntry(path, false);        SVNAdminArea parentArea = getAdminArea(path.getParentFile());        if (parentArea == null) {            try {                parentArea = probeOpen(path.getParentFile(), false, 0);            } catch (SVNException svne) {                return true;            }        }                SVNEntry parentEntry = getEntry(path.getParentFile(), false);        if (parentEntry == null) {            return true;        }                if (parentEntry.getURL() == null) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.ENTRY_MISSING_URL, "''{0}'' has no ancestry information", path.getParentFile());            SVNErrorManager.error(err);        }                if (entry != null && entry.getURL() != null) {            if (!entry.getURL().equals(SVNPathUtil.append(parentEntry.getURL(), SVNEncodingUtil.uriEncode(path.getName())))) {                return true;            }        }        entry = getEntry(path, false);        if (entry == null) {            return true;        }        return false;    }