1
0
Fork 0

* only 'ask' the user if the session is interactive

pull/410/head
till 2012-03-09 14:07:04 +01:00
parent bcadfadc8a
commit 1f03d37a89
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
$output
);
// this could be any failure, but let's see if it's auth related
if ($status == 1) {
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");