protected function __exec__() { $this->options('xml'); if (Tag::setof($tag, parent::__exec__()->stdout(), 'list')) { $result = array(); foreach ($tag->in('entry') as $t) { $result[] = $t->hash(); } return $result; } throw new SubversionListException(); }
protected function __exec__() { if ($this->is_raw()) { return parent::__exec__(); } $this->options('xml'); $result = array(); if (Tag::setof($tag, parent::__exec__()->stdout(), 'log')) { foreach ($tag->in('logentry') as $logentry) { $result[] = $logentry->hash(); } return $result; } throw new SubversionLogException(); }
public static function look($command, $vars = array(), $options = array(), $dict = null) { return SubversionCommand::look($command, $vars, $options, $dict); }
public static function __import__() { self::$__cmd_path__ = module_const('cmd_path', '/usr/bin/svn'); self::$__look_cmd_path__ = module_const('look_cmd_path', '/usr/bin/svnlook'); self::$_lang_ = module_const('lang', 'ja_JP.UTF-8'); }