Handle auth challenge in SvnDriver supports.

main
Beau Simensen 12 years ago
parent c7dc49fe10
commit a6366be5a6

@ -262,7 +262,16 @@ class SvnDriver extends VcsDriver
$ignoredOutput
);
return $exit === 0;
if ($exit === 0) {
// This is definitely a Subversion repository.
return true;
}
if (preg_match('/authorization failed/i', $processExecutor->getErrorOutput())) {
// This is likely a remote Subversion repository that requires
// authentication. We will handle actual authentication later.
return true;
}
return false;
}
/**

Loading…
Cancel
Save