src/Adapter/SubversionAdapter.php
private function getRepositoryUrlWithVersionPath($version)
    {
        $repositoryUrl = $this->repositoryUrl;
        if (in_array($version, array('master', $this->trunkPath))) {
            $repositoryUrl .= '/'.$this->trunkPath;
        } elseif (in_array($version, $this->getBranches())) {
            $repositoryUrl .= '/'.$this->branchesPath.'/'.$version;
        } elseif (in_array($version, $this->getTags())) {
            $repositoryUrl .= '/'.$this->tagsPath.'/'.$version;
        } else {
            return false;
        }

        return ProcessUtils::escapeArgument($repositoryUrl);
    }
private function getRepositoryUrlWithVersionPath($version)
    {
        $repositoryUrl = $this->repositoryUrl;
        if (in_array($version, array('master', $this->trunkPath))) {
            $repositoryUrl .= '/'.$this->trunkPath;
        } elseif (in_array($version, $this->getBranches())) {
            $repositoryUrl .= '/'.$this->branchesPath.'/'.$version;
        } elseif (in_array($version, $this->getTags())) {
            $repositoryUrl .= '/'.$this->tagsPath.'/'.$version;
        } else {
            return false;
        }

        return ProcessUtils::escapeArgument($repositoryUrl);
    }
private function getRepositoryUrlWithVersionPath ( $ version ) { $ repositoryUrl = $ this -> repositoryUrl ; if ( in_array ( $ version , array ( 'master' , $ this -> trunkPath ) ) ) { $ repositoryUrl .= '/' . $ this -> trunkPath ; } elseif ( in_array ( $ version , $ this -> getBranches ( ) ) ) { $ repositoryUrl .= '/' . $ this -> branchesPath . '/' . $ version ; } elseif ( in_array ( $ version , $ this -> getTags ( ) ) ) { $ repositoryUrl .= '/' . $ this -> tagsPath . '/' . $ version ; } else { return false ; } return ProcessUtils :: escapeArgument ( $ repositoryUrl ) ; }
Returns the escaped repository URL with version path.
Returns false when the repository URL for a version cannot be found.

@param string $version

@return string|bool
Returns the escaped repository URL with version path . Returns false when the repository URL for a version cannot be found .