| escapeshellarg($commit));␊ | 
| $xml = simplexml_load_string(shell_exec($cmd));␊ | 
| $res = array();␊ | 
| $folder = (strlen($folder)) ? $folder.'/' : '';␊ | 
| $folder = (strlen($folder) and ($folder != '/')) ? $folder.'/' : '';␊ | 
| foreach ($xml->list->entry as $entry) {␊ | 
| $file = array();␊ | 
| $file['type'] = $this->assoc[(string) $entry['kind']];␊ | 
|  | 
| return $this->cache['commitmess'][$rev];␊ | 
| }␊ | 
| ␊ | 
| /**␊ | 
| * FIXME: Need to check the case of an inexisting file.␊ | 
| */␊ | 
| public function getPathInfo($filename, $rev=null)␊ | 
| {␊ | 
| if ($rev == null) {␊ | 
|  | 
| escapeshellarg($this->repo.'/'.$filename),␊ | 
| escapeshellarg($rev));␊ | 
| $xml = simplexml_load_string(shell_exec($cmd));␊ | 
| if (!isset($xml->entry)) {␊ | 
| return false;␊ | 
| }␊ | 
| $entry = $xml->entry;␊ | 
| $file = array();␊ | 
| $file['fullpath'] = $filename;␊ |