public long getLatestRevision() throws SVNException { DAVBaselineInfo info = null;
public long getLatestRevision() throws SVNException {
    public long getLatestRevision() throws SVNException {        DAVBaselineInfo info = null;        try {            openConnection();            String path = getLocation().getPath();            path = SVNEncodingUtil.uriEncode(path);            info = DAVUtil.getBaselineInfo(myConnection, path, -1, false, true, info);        } finally {            closeConnection();        }        if (info == null) {            SVNErrorManager.error("svn: Cannot get baseline information for '" + getLocation() + "'");        }        return info.revision;    }