Indefero

Indefero Commit Details


Date:2010-12-23 04:57:39 (13 years 11 months ago)
Author:Loïc 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:97bc383bc03e4f2ca8a1626aa6af1fe5e4d114fe
Parents: 0739b856e0571c651587e0d4c6415355629437a2
Message:Updated to display changes only if the backend supports this function.

Changes:

File differences

src/IDF/Views/Source.php
299299
300300
301301
302
303302
303
304
305
306
307
308
304309
305310
306311
$rcommit = IDF_Commit::getOrAdd($cobject, $request->project);
$diff = new IDF_Diff($cobject->diff);
$diff->parse();
$changes = $scm->getChanges($commit);
$scmConf = $request->conf->getVal('scm', 'git');
try {
$changes = $scm->getChanges($commit);
} catch (Exception $e) {
// getChanges is not yes supported by this backend.
$changes = array();
}
$branches = $scm->getBranches();
$in_branches = $scm->inBranches($cobject->commit, '');
$tags = $scm->getTags();
src/IDF/templates/idf/source/commit.html
1717
1818
1919
20
20
2121
2222
2323
......
5252
5353
5454
55
55
5656
5757
5858
</tr>
<tr>
<th><strong>{trans 'Message:'}</strong></th><td>{issuetext $cobject.title, $request}{if isset($cobject.full_message)}<br/><br/>{issuetext $cobject.full_message, $request, true, false, true, true, true}{/if}</td>
</tr>
</tr>{if count($changes)}
<tr>
<th><strong>{trans 'Changes:'}</strong></th>
<td>
{/foreach}
</table>
</td>
</tr>
</tr>{/if} {* End of the if count($changes) *}
</table>
{if count($diff.files)}

Archive Download the corresponding diff file

Page rendered in 0.09228s using 13 queries.