diff --git a/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php b/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php index 082c357508..f6d3a26b94 100644 --- a/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php +++ b/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php @@ -266,11 +266,14 @@ final class PhabricatorRepositorySvnCommitChangeParserWorker if (empty($raw_paths[$full_from]) && empty($effects[$full_from])) { if ($other_type == DifferentialChangeType::TYPE_COPY_AWAY) { + // Add an indirect effect for the copied file, if we + // don't already have an entry for it (e.g., a separate + // change). $effects[$full_from] = array( 'rawPath' => $full_from, 'rawTargetPath' => null, 'rawTargetCommit' => null, - 'rawDirect' => true, + 'rawDirect' => false, 'changeType' => $other_type, 'fileType' => $from_file_type,