XML node access didn't work and as such renames and copies weren't properly detected.
This commit is contained in:
parent
ac6be0d3c0
commit
24fc41ee0d
@ -530,10 +530,10 @@ class IDF_Scm_Svn extends IDF_Scm
|
|||||||
|
|
||||||
// copies are treated as renames if they have an add _and_ a drop;
|
// 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
|
// only if they only have an add, but no drop, they're treated as copies
|
||||||
foreach ($xml->paths as $path) {
|
foreach ($entry->paths->path as $p) {
|
||||||
$trg = (string) $path;
|
$trg = (string) $p;
|
||||||
$src = null;
|
$src = null;
|
||||||
foreach ($path->attributes() as $k => $v) {
|
foreach ($p->attributes() as $k => $v) {
|
||||||
if ((string) $k == 'copyfrom-path') {
|
if ((string) $k == 'copyfrom-path') {
|
||||||
$src = (string) $v;
|
$src = (string) $v;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user