Indefero

Indefero Commit Details


Date:2011-06-10 16:40:22 (13 years 6 months ago)
Author:Thomas Keller
Branch:develop, feature.content-md5, feature.diff-whitespace, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:24fc41ee0d4f8823ecfd0a241c716cf56553a7b9
Parents: ac6be0d3c06f924c75cc1e8f10184cf0e0bf8af9
Message:XML node access didn't work and as such renames and copies weren't properly detected.

Changes:

File differences

src/IDF/Scm/Svn.php
530530
531531
532532
533
534
533
534
535535
536
536
537537
538538
539539
// copies are treated as renames if they have an add _and_ a drop;
// only if they only have an add, but no drop, they're treated as copies
foreach ($xml->paths as $path) {
$trg = (string) $path;
foreach ($entry->paths->path as $p) {
$trg = (string) $p;
$src = null;
foreach ($path->attributes() as $k => $v) {
foreach ($p->attributes() as $k => $v) {
if ((string) $k == 'copyfrom-path') {
$src = (string) $v;
break;

Archive Download the corresponding diff file

Page rendered in 0.08222s using 13 queries.