ISVNEntry locateEntry(String path, boolean unmanaged) throws SVNException { ISVNEntry entry = getRoot(); for (StringTokenizer tokens = new StringTokenizer(path, "/"); tokens.hasMoreTokens();) { String token = tokens.nextToken(); if (entry == null) { return null; } entry = entry.asDirectory().getUnmanagedChild(token); } if (entry != null && !unmanaged && (entry.getPropertyValue(SVNProperty.REVISION) == null && !entry.isMissing())) { return null; } return entry;
ISVNEntry locateEntry(String path) throws SVNException { return locateEntry(path, false);
    ISVNEntry locateEntry(String path, boolean unmanaged) throws SVNException {        ISVNEntry entry = getRoot();        for (StringTokenizer tokens = new StringTokenizer(path, "/"); tokens.hasMoreTokens();) {            String token = tokens.nextToken();            if (entry == null) {                return null;            }            entry = entry.asDirectory().getUnmanagedChild(token);        }        if (entry != null && !unmanaged && (entry.getPropertyValue(SVNProperty.REVISION) == null && !entry.isMissing())) {            return null;        }        return entry;    }