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:
parent
cec641a81e
commit
ef990703fa
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue