From 0f95e531b8bcea7d4607b23bba4b22e6ed27ef72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kerner?= Date: Fri, 7 Feb 2014 10:41:40 +0100 Subject: [PATCH] * fixed svn tag directory handling --- src/Composer/Package/Loader/RootPackageLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Package/Loader/RootPackageLoader.php b/src/Composer/Package/Loader/RootPackageLoader.php index 8db725496..5cedf9395 100644 --- a/src/Composer/Package/Loader/RootPackageLoader.php +++ b/src/Composer/Package/Loader/RootPackageLoader.php @@ -312,7 +312,7 @@ class RootPackageLoader extends ArrayLoader $urlPattern = '#.*/('.$trunkPath.'|('.$branchesPath.'|'. $tagsPath .')/(.*))#'; 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) {