Permalink
Browse files

Bug #20031: Add no-auth-cache and trust-server-cert as global options…

… as noAuthCache and trustServerCert.
  • Loading branch information...
1 parent be105bd commit 72e147d97b44f7498810b3171da8a42baf3b939c @opi99 opi99 committed Aug 8, 2013
Showing with 16 additions and 0 deletions.
  1. +16 −0 VersionControl/SVN/Command.php
@@ -185,6 +185,20 @@
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.
*
* @var string $commandName
@@ -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);
}
/**

0 comments on commit 72e147d

Please sign in to comment.