Skip to content

Commit

Permalink
Bug #20031: Add no-auth-cache and trust-server-cert as global options…
Browse files Browse the repository at this point in the history
… as noAuthCache and trustServerCert.
  • Loading branch information
Alexander Opitz committed Aug 8, 2013
1 parent be105bd commit 72e147d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions VersionControl/SVN/Command.php
Expand Up @@ -184,6 +184,20 @@ abstract class VersionControl_SVN_Command
*/
public $configOption = null;

/**
* Default no-auth-cache to use for connections.
*
* @var string $noAuthCache
*/
public $noAuthCache = null;

/**
* Default trust-server-cert to use for connections.
*
* @var string $trustServerCert
*/
public $trustServerCert = false;

/**
* SVN subcommand to run.
*
Expand Down Expand Up @@ -362,6 +376,8 @@ protected function preProcessSwitches()
$this->fillSwitch('password', $this->password);
$this->fillSwitch('config-dir', $this->configDir);
$this->fillSwitch('config-option', $this->configOption);
$this->fillSwitch('no-auth-cache', $this->noAuthCache);
$this->fillSwitch('trust-server-cert', $this->trustServerCert);
}

/**
Expand Down

0 comments on commit 72e147d

Please sign in to comment.