Indefero

Indefero Commit Details


Date:2008-12-03 13:58:06 (16 years 18 days ago)
Author:Loic d'Anterroches
Branch:dev, 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:7cc244ec06feafab75f636703d02e9f4c611f693
Parents: 9c44bc5fe5c549959706b2b8a9d892398743bbf1
Message:Fixed to avoid double slashes in the path to folders.

Changes:

File differences

src/IDF/Scm/Svn.php
140140
141141
142142
143
143144
144145
145146
146147
147
148
148149
149150
150151
151152
152
153
153154
154155
155156
$xmlLs = IDF_Scm::shell_exec($cmd);
$xml = simplexml_load_string($xmlLs);
$res = array();
$folder = (strlen($folder)) ? $folder.'/' : '';
foreach ($xml->list->entry as $entry) {
$file = array();
$file['type'] = $this->assoc[(string) $entry['kind']];
$file['file'] = (string) $entry->name;
$file['fullpath'] = $folder.'/'.((string) $entry->name);
$file['fullpath'] = $folder.((string) $entry->name);
$file['date'] = gmdate('Y-m-d H:i:s',
strtotime((string) $entry->commit->date));
$file['rev'] = (string) $entry->commit['revision'];
// Get commit message
$currentReposFile = $this->repo.'/'.$folder.'/'.$file['file'];
$currentReposFile = $this->repo.'/'.$folder.$file['file'];
$file['log'] = $this->getCommitMessage($currentReposFile, $rev);
// Get the size if the type is blob

Archive Download the corresponding diff file

Page rendered in 0.08746s using 13 queries.