diff --git a/src/repository/api/ArcanistSubversionAPI.php b/src/repository/api/ArcanistSubversionAPI.php --- a/src/repository/api/ArcanistSubversionAPI.php +++ b/src/repository/api/ArcanistSubversionAPI.php @@ -292,25 +292,12 @@ // directory is newly added (see T5555) so we need to filter the results // out later as well. - if (phutil_is_windows()) { - // TODO: Provide a binary_safe_diff script for Windows. - // TODO: Provide a diff command which can take lines of context somehow. - return $this->buildLocalFuture( - array( - 'diff --depth empty %s', - $path, - )); - } else { - $diff_bin = $root.'/../scripts/repository/binary_safe_diff.sh'; - $diff_cmd = Filesystem::resolvePath($diff_bin); - return $this->buildLocalFuture( - array( - 'diff --depth empty --diff-cmd %s -x -U%d %s', - $diff_cmd, - $this->getDiffLinesOfContext(), - $path, - )); - } + return $this->buildLocalFuture( + array( + 'diff --depth empty --internal-diff -x -U%d %s', + $this->getDiffLinesOfContext(), + $path, + )); } public function primeSVNInfoResult($path, $result) {