src/Composer/Downloader/SvnDownloader.php
protected function execute($baseUrl, $command, $url, $cwd = null, $path = null)
    {
        $util = new SvnUtil($baseUrl, $this->io, $this->config);
        $util->setCacheCredentials($this->cacheCredentials);
        try {
            return $util->execute($command, $url, $cwd, $path, $this->io->isVerbose());
        } catch (\RuntimeException $e) {
            throw new \RuntimeException(
                'Package could not be downloaded, '.$e->getMessage()
            );
        }
    }
protected function execute($baseUrl, $command, $url, $cwd = null, $path = null)
    {
        $util = new SvnUtil($baseUrl, $this->io, $this->config);
        $util->setCacheCredentials($this->cacheCredentials);
        try {
            return $util->execute($command, $url, $cwd, $path, $this->io->isVerbose());
        } catch (\RuntimeException $e) {
            throw new \RuntimeException(
                'Package could not be downloaded, '.$e->getMessage()
            );
        }
    }
protected function execute ( $ baseUrl , $ command , $ url , $ cwd = null , $ path = null ) { $ util = new SvnUtil ( $ baseUrl , $ this -> io , $ this -> config ) ; $ util -> setCacheCredentials ( $ this -> cacheCredentials ) ; try { return $ util -> execute ( $ command , $ url , $ cwd , $ path , $ this -> io -> isVerbose ( ) ) ; } catch ( \ RuntimeException $ e ) { throw new \ RuntimeException ( 'Package could not be downloaded, ' . $ e -> getMessage ( ) ) ; } }
Execute an SVN command and try to fix up the process with credentials
if necessary.

@param  string            $baseUrl Base URL of the repository
@param  string            $command SVN command to run
@param  string            $url     SVN url
@param  string            $cwd     Working directory
@param  string            $path    Target for a checkout
@throws \RuntimeException
@return string
Execute an SVN command and try to fix up the process with credentials if necessary .