Add the parent property to a subversion commit.
This commit is contained in:
parent
7bcfb806b0
commit
fbd1ebc294
@ -433,6 +433,9 @@ class IDF_Scm_Svn extends IDF_Scm
|
||||
$res['date'] = gmdate('Y-m-d H:i:s', strtotime((string) $xml->logentry->date));
|
||||
$res['title'] = (string) $xml->logentry->msg;
|
||||
$res['commit'] = (string) $xml->logentry['revision'];
|
||||
$res['parents'] = $xml->logentry['revision'] > 1
|
||||
? array((string) $xml->logentry['revision'] - 1)
|
||||
: array();
|
||||
$res['diff'] = ($getdiff) ? $this->getDiff($commit) : '';
|
||||
$res['tree'] = '';
|
||||
$res['branch'] = '';
|
||||
|
Loading…
Reference in New Issue
Block a user