Browse Source

Merge pull request #239 from digitalkaoz/issue_230

fixed #230
Jordi Boggiano 13 years ago
parent
commit
feedac8a89
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 3 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -180,7 +180,9 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
             return false;
         }
 
-        $exit = $this->process->execute(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored);
+        $processExecutor = new ProcessExecutor();
+
+        $exit = $processExecutor->execute(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored);
         return $exit === 0;
     }
 }