366N/A * The contents of this file are subject to the terms of the 911N/A * Common Development and Distribution License (the "License"). 366N/A * You may not use this file except in compliance with the License. 366N/A * language governing permissions and limitations under the License. 366N/A * When distributing Covered Code, include this CDDL HEADER in each 366N/A * If applicable, add the following below this CDDL HEADER, with the 366N/A * fields enclosed by brackets "[]" replaced with your own identifying 366N/A * information: Portions Copyright [yyyy] [name of copyright owner] 366N/A * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 366N/A * Access to a Subversion repository. 366N/A * <b>TODO</b> The current implementation does <b>not</b> support nested 366N/A /** The property name used to obtain the client command for this repository. */ 493N/A /** The command to use to access the repository if none was given explicitly */ 366N/A /** The system property name to obtain the subversion user configuration * directory to use, i.e. the value for the svn option --config-dir. Gets * Pointer to the repository path. Is {@code null} until * {@link #setDirectoryName(String)} got called. * Create a new instance of type {@code Subversion}. // set to true if we manage to find the root directory * Get an executor to be used for retrieving the history log for the * @param file The file to retrieve history for (canonical path incl. source * @param sinceRevision the revision number immediately preceding the first * revision we want, or {@code null} to fetch the entire history * @return An Executor ready to be started cmd.
add(
"--trust-server-cert");
// We would like to use sinceRevision+1 here, but if no new // revisions have been added after sinceRevision, it would fail // because there is no such revision as sinceRevision+1. Instead, // fetch the unneeded revision and remove it later. logger.
severe(
"An error occurred while parsing the command output (xml): " // the process is still running??? just kill it.. // @TODO: Research how to cheaply test if a file in a given // SVN repo has history. If there is a cheap test, then this // code can be refined, boosting performance. cmd.
add(
"--trust-server-cert");