소스 검색

* fixed svn tag directory handling

René Kerner 11 년 전
부모
커밋
0f95e531b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Package/Loader/RootPackageLoader.php

+ 1 - 1
src/Composer/Package/Loader/RootPackageLoader.php

@@ -312,7 +312,7 @@ class RootPackageLoader extends ArrayLoader
             $urlPattern = '#<url>.*/('.$trunkPath.'|('.$branchesPath.'|'. $tagsPath .')/(.*))</url>#';
 
             if (preg_match($urlPattern, $output, $matches)) {
-                if (isset($matches[2]) && $branchesPath === $matches[2]) {
+                if (isset($matches[2]) && ($branchesPath === $matches[2] || $tagsPath === $matches[2])) {
                     // we are in a branches path
                     $version = $this->versionParser->normalizeBranch($matches[3]);
                     if ('9999999-dev' === $version) {