Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
PHP
1234567891011121314151617181920212223242526272829<?php
final class DiffusionSvnRawDiffQuery extends DiffusionRawDiffQuery {
protected function newQueryFuture() { $drequest = $this->getRequest(); $repository = $drequest->getRepository();
$commit = $this->getAnchorCommit(); $arc_root = phutil_get_library_root('arcanist');
$against = $this->getAgainstCommit(); if ($against === null) { $against = $commit - 1; }
$future = $repository->getRemoteCommandFuture( 'diff --diff-cmd %s -x -U%d -r %d:%d %s', $arc_root.'/../scripts/repository/binary_safe_diff.sh', $this->getLinesOfContext(), $against, $commit, $repository->getSubversionPathURI($drequest->getPath()));
return $future; }
}