code: public static InputStream getBranchLogStream(String[] branches, Date startDate, Date endDate, String baseUrl, String user, String pwd) throws IOException {
          SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mmZ", Locale.ROOT);
          dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
  
          CommandLine cmdLine = getCommandLineForXMLLog(user, pwd);
          cmdLine.addArgument("{" + dateFormat.format(startDate) + "}:{" + dateFormat.format(endDate) + "}");
          cmdLine.addArgument(baseUrl + branches[0]);
  
          return ExecutionHelper.getCommandResult(cmdLine, new File("."), 0, 120000);
      }
docs: Retrieve the XML-log of changes on the given branch, starting from and ending with a specific date
  This method returns an {@link InputStream} that can be used
  to read and process the XML data without storing the complete result. This is useful
  when you are potentially reading many revisions and thus need to avoid being limited
  in memory or disk.
  
  @param branches The list of branches to fetch logs for, currently only the first entry is used!
  @param startDate The starting date for the log-entries that are fetched
  @param endDate   In case <code>endDate</code> is not specified, the current date is used
  @param baseUrl       The SVN url to connect to
  @param user      The SVN user or null if the default user from the machine should be used
  @param pwd       The SVN password or null if the default user from the machine should be used   @return A stream that can be used to read the XML data, should be closed by the caller
  
  @return An InputStream which provides the XML-log response
  
  @throws IOException Execution of the SVN sub-process failed or the
  sub-process returned a exit value indicating a failure