* only 'ask' the user if the session is interactive
parent
bcadfadc8a
commit
1f03d37a89
|
@ -73,7 +73,7 @@ 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, 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) {
|
if ($this->useAuth === false && strpos($output, 'authorization failed:') !== false) {
|
||||||
$this->io->write("The Subversion server ({$this->baseUrl}) request credentials:");
|
$this->io->write("The Subversion server ({$this->baseUrl}) request credentials:");
|
||||||
$this->svnUsername = $this->io->ask("Username");
|
$this->svnUsername = $this->io->ask("Username");
|
||||||
|
|
Loading…
Reference in New Issue