Browse Source

Merge pull request #2399 from wouter90/subversion

Fix authentication issue with subversion 1.8
Jordi Boggiano 11 years ago
parent
commit
d1c166eb26
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Composer/Util/Svn.php

+ 2 - 1
src/Composer/Util/Svn.php

@@ -112,7 +112,8 @@ class Svn
         // the error is not auth-related
         // the error is not auth-related
         if (false === stripos($output, 'Could not authenticate to server:')
         if (false === stripos($output, 'Could not authenticate to server:')
             && false === stripos($output, 'authorization failed')
             && false === stripos($output, 'authorization failed')
-            && false === stripos($output, 'svn: E170001:')) {
+            && false === stripos($output, 'svn: E170001:')
+            && false === stripos($output, 'svn: E215004:')) {
             throw new \RuntimeException($output);
             throw new \RuntimeException($output);
         }
         }