Example #1
0
 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();
 }
Example #2
0
 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();
 }