Indefero

Indefero Commit Details


Date:2011-01-20 16:45:21 (14 years 3 months ago)
Author:Thomas Keller
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:296091e977a80076950399fd7ecf4adb48989365
Parents: 77ba17eb61e44f8fa410a7cdf76d19b8fa9b2cfe
Message:Fetch parent revisions for monotone commits as well.

Changes:

File differences

src/IDF/Scm/Monotone.php
674674
675675
676676
677
677
678678
679
680
681
682
679683
680684
681685
        if (count($revs) == 0)
            return array();
        $certs = $this->_getCerts($revs[0]);
        $res = array();
        $parents = $this->stdio->exec(array('parents', $revs[0]));
        $res['parents'] = preg_split("/\n/", $parents, -1, PREG_SPLIT_NO_EMPTY);
       
        $certs = $this->_getCerts($revs[0]);        
        // FIXME: this assumes that author, date and changelog are always given
        $res['author'] = implode(', ', $certs['author']);

Archive Download the corresponding diff file

Page rendered in 0.19067s using 13 queries.