Indefero

Indefero Commit Details


Date:2008-09-02 10:41:54 (16 years 7 months 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:0ff5eb0f82f69bffa2ccdd7397675b400f1e3863
Parents: 3a3aa9c7303321dadcc11fc9b0150b0fbb31447d
Message:Fixed issue 34 in the case of bad commit in the changelog.

Changes:

File differences

src/IDF/Views/Source.php
3939
4040
4141
42
43
44
45
46
47
48
4249
4350
4451
        $scm = IDF_Scm::get($request);
        $branches = $scm->getBranches();
        $commit = $match[2];
        if ('commit' != $scm->testHash($commit)) {
            // Redirect to the first branch
            $url = Pluf_HTTP_URL_urlForView('IDF_Views_Source::changeLog',
                                            array($request->project->shortname,
                                                  $branches[0]));
            return new Pluf_HTTP_Response_Redirect($url);
        }
        $res = $scm->getChangeLog($commit, 25);
        $scmConf = $request->conf->getVal('scm', 'git');
        return Pluf_Shortcuts_RenderToResponse('source/changelog.html',

Archive Download the corresponding diff file

Page rendered in 0.12945s using 14 queries.