Indefero

Indefero Commit Details


Date:2011-03-17 20:33:54 (13 years 9 months ago)
Author:Dmitry Dulepov
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, release-1.1, release-1.2, release-1.3
Commit:be39d72d3c2823d9696561d1f3eef8cc13276fa6
Parents: 045eb766f1f4a560ffbf0f03634aa7de98cfb5ef
Message:Fix XML parsing exceptions when revisions with empty log messages are parsed.

This fixes issue 518; Dmitry is added to AUTHORS.
Changes:

File differences

AUTHORS
77
88
99
10
1011
1112
1213
Ludovic Bellière
bohwaz <http://bohwaz.net/>
Adrien Bustany
Dmitry Dulepov
Baptiste Durand-Bret
Manuel Eidenberger <eidenberger@gmail.com>
Raphaël Emourgeon
NEWS.mdtext
3737
3838
3939
40
4041
4142
4243
- Add more file extensions supported by our in-tree prettify version (issues 490 and 567)
- Do not clean `<ins>` and `<del>` HTML markup from user input (issue 509)
- Improve HTML validation by switching from `strict` to `transitional` DOCTYPE (issue 511)
- Ignore XML parsing problems when trying to retrieve commit messages for svn (issue 518)
- Properly handle git commits without a changelog title (issue 520)
- Improve BSD compatibility in shell scripts (issue 526)
- Properly render inner whitespaces in viewed issue attachments (issue 528)
src/IDF/Scm/Svn.php
266266
267267
268268
269
270
269
270
271
272
273
274
275
271276
272277
273278
escapeshellarg($this->repo),
escapeshellarg($rev));
$cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd;
$xml = simplexml_load_string(self::shell_exec('IDF_Scm_Svn::getCommitMessage', $cmd));
$this->cache['commitmess'][$rev] = (string) $xml->logentry->msg;
try {
$xml = simplexml_load_string(self::shell_exec('IDF_Scm_Svn::getCommitMessage', $cmd));
$this->cache['commitmess'][$rev] = (string) $xml->logentry->msg;
}
catch (Exception $e) {
$this->cache['commitmess'][$rev] = '';
}
return $this->cache['commitmess'][$rev];
}

Archive Download the corresponding diff file

Page rendered in 0.07913s using 14 queries.