|
|
@ -281,7 +281,7 @@ class Svn
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected function createAuthFromConfig()
|
|
|
|
private function createAuthFromConfig()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!$this->config->has('http-basic')) {
|
|
|
|
if (!$this->config->has('http-basic')) {
|
|
|
|
return $this->hasAuth = false;
|
|
|
|
return $this->hasAuth = false;
|
|
|
@ -304,7 +304,7 @@ class Svn
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected function createAuthFromUrl()
|
|
|
|
private function createAuthFromUrl()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$uri = parse_url($this->url);
|
|
|
|
$uri = parse_url($this->url);
|
|
|
|
if (empty($uri['user'])) {
|
|
|
|
if (empty($uri['user'])) {
|
|
|
|