class SVN implements SourceControl {

    Commandline buildInfoCommand(String path) throws CruiseControlException {
        Commandline command = new Commandline();
        command.setExecutable("svn");

        if (localWorkingCopy != null) {
            command.setWorkingDirectory(localWorkingCopy);
        }
        command.createArgument("info");
        command.createArgument("--xml");
        if (path != null) {
            command.createArgument(path);
        }
        LOG.debug("Executing command: " + command);

        return command;
    }

}