Indefero

Indefero Commit Details


Date:2009-06-08 12:44:52 (15 years 6 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:e31d822d748b30b05ff146535b0be92f0de24098
Parents: 15cba014ba38bf51960d0d3f59241ded7db913ac
Message:Fixed the case of a non-existing file.

Changes:

File differences

src/IDF/Scm/Svn.php
186186
187187
188188
189
189
190190
191191
192192
......
229229
230230
231231
232
233
234
235232
236233
237234
......
243240
244241
245242
243
244
245
246246
247247
248248
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;

Archive Download the corresponding diff file

Page rendered in 0.07957s using 13 queries.