src/Composer/Util/Svn.php
public function execute($command, $url, $cwd = null, $path = null, $verbose = false)
    {
        // Ensure we are allowed to use this URL by config
        $this->config->prohibitUrlByConfig($url, $this->io);

        return $this->executeWithAuthRetry($command, $cwd, $url, $path, $verbose);
    }
public function execute($command, $url, $cwd = null, $path = null, $verbose = false)
    {
        // Ensure we are allowed to use this URL by config
        $this->config->prohibitUrlByConfig($url, $this->io);

        return $this->executeWithAuthRetry($command, $cwd, $url, $path, $verbose);
    }
Execute an SVN remote command and try to fix up the process with credentials
if necessary.

@param string $command SVN command to run
@param string $url     SVN url
@param string $cwd     Working directory
@param string $path    Target for a checkout
@param bool   $verbose Output all output to the user

@throws \RuntimeException
@return string