Sfoglia il codice sorgente

Merge pull request #1990 from phansys/svn-auth

Added check for SVN WebDAV auth request
Jordi Boggiano 11 anni fa
parent
commit
06dff68ce7
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/Composer/Util/Svn.php

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

@@ -100,7 +100,8 @@ class Svn
         }
 
         // 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, 'svn: E170001:')) {
             throw new \RuntimeException($output);
         }