Ejemplo n.º 1
0
 public function __construct($path, SvnCommandConfig $config = NULL, $verify = TRUE)
 {
     if ($verify) {
         $this->verify($path);
     }
     parent::__construct($path);
     $this->config = is_null($config) ? new SvnCommandConfig() : $config;
     $this->config->attachWrapper($this);
     $this->getInfo();
 }
Ejemplo n.º 2
0
 public function __construct($path, $verify = TRUE)
 {
     if ($verify) {
         $this->verify($path);
     }
     parent::__construct($path);
     $this->config = new SvnCommandConfig();
     $this->config->attachInstance($this);
     // Because it's very easy for the svnlib to fail (hard and with weird errors)
     // if a config dir isn't present, we set it to the unintrusive default that
     // ships with svnlib.
     $this->config->configDir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'configdir';
     $this->getInfo();
 }