1
0
Fork 0

more inline documentation

pull/410/head
till 2012-03-09 14:33:34 +01:00
parent 4da56ea617
commit c78d9ffece
1 changed files with 5 additions and 1 deletions

View File

@ -80,11 +80,15 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
$output $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()) { if ($status == 1 && $this->io->isInteractive()) {
// the error is not auth-related
if (strpos($output, 'authorization failed:') === false) { if (strpos($output, 'authorization failed:') === false) {
return $output; return $output;
} }
// no authorization has been detected so far
if (!$this->useAuth) { if (!$this->useAuth) {
$this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:"); $this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:");