protected function cloneByHttp(Builder $builder, $cloneTo)
    {
        $cmd = $this->svnCommand;

        if ($this->getCommitId() != 'Manual') {
            $cmd .= ' -r %s %s "%s"';
            $success = $builder->executeCommand($cmd, $this->getCommitId(), $this->getCloneUrl(), $cloneTo);
        } else {
            $cmd .= ' %s "%s"';
            $success = $builder->executeCommand($cmd, $this->getCloneUrl(), $cloneTo);
        }

        return $success;
    }
protected function cloneByHttp(Builder $builder, $cloneTo)
    {
        $cmd = $this->svnCommand;

        if ($this->getCommitId() != 'Manual') {
            $cmd .= ' -r %s %s "%s"';
            $success = $builder->executeCommand($cmd, $this->getCommitId(), $this->getCloneUrl(), $cloneTo);
        } else {
            $cmd .= ' %s "%s"';
            $success = $builder->executeCommand($cmd, $this->getCloneUrl(), $cloneTo);
        }

        return $success;
    }
protected function cloneByHttp ( Builder $ builder , $ cloneTo ) { $ cmd = $ this -> svnCommand ; if ( $ this -> getCommitId ( ) != 'Manual' ) { $ cmd .= ' -r %s %s "%s"' ; $ success = $ builder -> executeCommand ( $ cmd , $ this -> getCommitId ( ) , $ this -> getCloneUrl ( ) , $ cloneTo ) ; } else { $ cmd .= ' %s "%s"' ; $ success = $ builder -> executeCommand ( $ cmd , $ this -> getCloneUrl ( ) , $ cloneTo ) ; } return $ success ; }
Use an HTTP-based svn export.
Use an HTTP - based svn export .