1
0
Fork 0

whitespace

pull/410/head
till 2012-03-09 14:13:29 +01:00
parent 1f03d37a89
commit 061d91b4a8
1 changed files with 3 additions and 0 deletions

View File

@ -72,10 +72,13 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
$svnCommand,
$output
);
// this could be any failure, but let's see if it's auth related
if ($status == 1 && $this->io->isInteractive()) {
if ($this->useAuth === false && strpos($output, 'authorization failed:') !== false) {
$this->io->write("The Subversion server ({$this->baseUrl}) request credentials:");
$this->svnUsername = $this->io->ask("Username");
$this->svnPassword = $this->io->ask("Password");
$this->useAuth = true;