Example #1
0
 public function commitCmd(array $options)
 {
     array_map(function ($t) {
         return escapeshellarg($t);
     }, $options[Hoborg_Svn_aCaller::OPTION_TARGET]);
     $cmd = join(' ', array($this->options[static::OPTIONS_SVN_COMMAND], static::SVN_CMD_COMMIT, '-m ' . escapeshellarg($options[Hoborg_Svn_aCaller::OPTION_MESSAGE]), join(' ', $options[Hoborg_Svn_aCaller::OPTION_TARGET]), $this->getAuthArgs()));
     $out = array();
     exec($cmd, $out);
     Hoborg_Log::inspect('commit CMD OUT:', $out);
     return true;
 }