1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 07:11:04 +01:00

Fix SVN commit change parser for directories copied from the same path

Summary: See [[ https://secure.phabricator.com/D2215?id=3773#inline-2451 | D2215#inline-2451 ]].

Test Plan: Reparsed commit which was wrong, now correct.

Reviewers: epriestley, jungejason

Reviewed By: jungejason

CC: aran

Differential Revision: https://secure.phabricator.com/D2232
This commit is contained in:
vrana 2012-04-13 14:11:10 -07:00
parent cec641a81e
commit ef990703fa

View file

@ -277,7 +277,8 @@ class PhabricatorRepositorySvnCommitChangeParserWorker
}
}
if (empty($raw_paths[$full_from])) {
if (empty($raw_paths[$full_from]) &&
empty($effects[$full_from])) {
if ($other_type == DifferentialChangeType::TYPE_COPY_AWAY) {
$effects[$full_from] = array(
'rawPath' => $full_from,