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;
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user