Exemple #1
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();
 }