From 6687743adbac1fe73ca81912a6ef29ceb6e5cc2f Mon Sep 17 00:00:00 2001 From: jspagnoletti Date: Mon, 10 Jun 2013 15:00:58 -0300 Subject: [PATCH] Added check for SVN WebDAV auth request (http://subversion.apache.org/docs/api/latest/group__svn__dav__error.html#gada0137a4ffc40251d2fce8ba06ca2e14, http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/javahl/src/org/tigris/subversion/javahl/ErrorCodes.java). --- src/Composer/Util/Svn.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Composer/Util/Svn.php b/src/Composer/Util/Svn.php index d979a2ddb..92694ea78 100644 --- a/src/Composer/Util/Svn.php +++ b/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); }