From c78d9ffece03ca0af62566458e025525857bf0e0 Mon Sep 17 00:00:00 2001 From: till Date: Fri, 9 Mar 2012 14:33:34 +0100 Subject: [PATCH] more inline documentation --- src/Composer/Repository/Vcs/SvnDriver.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index e71460de6..f0b399789 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -80,11 +80,15 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface $output ); - // this could be any failure, but let's see if it's auth related + // this could be any failure if ($status == 1 && $this->io->isInteractive()) { + + // the error is not auth-related if (strpos($output, 'authorization failed:') === false) { return $output; } + + // no authorization has been detected so far if (!$this->useAuth) { $this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:");