if (!path.startsWith("/")) { path = "/".concat(path); }
    public int log(String[] targetPaths, long startRevision, long endRevision,            boolean changedPath, boolean strictNode, ISVNLogEntryHandler handler) throws SVNException {        if (targetPaths == null || targetPaths.length == 0) {            return 0;        }		String path = getLocation().getPath();        byte[] request = convertToBytes(DAVLogHandler.generateLogRequest(null, startRevision, endRevision,        		changedPath, strictNode, targetPaths));        DAVLogHandler davHandler = null;		try {			openConnection();			String[] fullPaths = new String[targetPaths.length];			for (int i = 0; i < targetPaths.length; i++) {				fullPaths[i] = getFullPath(targetPaths[i]);			}			path = PathUtil.getCommonRoot(fullPaths);            davHandler = new DAVLogHandler(handler); 			long revision = -1;			if (isValidRevision(startRevision) && isValidRevision(endRevision)) {				revision = Math.max(startRevision, endRevision);							}            DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, path, revision, false, false, null);            path = PathUtil.append(info.baselineBase, info.baselinePath);                        myConnection.doReport(path, request, davHandler);		} finally {			closeConnection();		}        if (davHandler != null) {            return davHandler.getEntriesCount();        }        return -1;    }