diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index d6b6b8daf..3daea8f55 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -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;