code: private SVNLogEntry getMostRecentLogEntry(final SVNClientManager clientManager, final String path, final SVNRevision startRevision) throws SVNException {
          final String[] targetPaths = {path};
  
          final SVNLogClient logClient = clientManager.getLogClient();
          final FilterableSVNLogEntryHandler handler = new FilterableSVNLogEntryHandler();
  
          final int limit = 1;
          // In order to get history is "descending" order, the startRevision should be the one closer to HEAD
          // The path@head could be deleted - must use 'pegRevision' to get history at a deleted path
          logClient.doLog(svnUrl, targetPaths,
                      /* pegRevision */ startRevision,
                      /* startRevision */ startRevision,
                      /* endRevision */ SVNRevision.create(1),
                      /* stopOnCopy */ false,
                      /* discoverChangedPaths */ false,
                      /* includeMergedRevisions */ false,
                      limit,
                      new String[]{SVNRevisionProperty.AUTHOR}, handler);
          if (handler.getLogEntries().isEmpty()) {
              return null;
          } else {
              return handler.getLogEntries().get(0);
          }
      }
docs: Returns the most recent log entry startRevision.
  startRevision should not be HEAD because the path @HEAD could be deleted.
  
  @param path
  @param startRevision
  @return
  @throws SVNException