[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class DiffusionSvnRawDiffQuery extends DiffusionRawDiffQuery { 4 5 protected function executeQuery() { 6 $drequest = $this->getRequest(); 7 $repository = $drequest->getRepository(); 8 9 $commit = $this->getAnchorCommit(); 10 $arc_root = phutil_get_library_root('arcanist'); 11 12 $against = $this->getAgainstCommit(); 13 if ($against === null) { 14 $against = $commit - 1; 15 } 16 17 $future = $repository->getRemoteCommandFuture( 18 'diff --diff-cmd %s -x -U%d -r %d:%d %s', 19 $arc_root.'/../scripts/repository/binary_safe_diff.sh', 20 $this->getLinesOfContext(), 21 $against, 22 $commit, 23 $repository->getSubversionPathURI($drequest->getPath())); 24 25 $this->configureFuture($future); 26 27 list($raw_diff) = $future->resolvex(); 28 return $raw_diff; 29 } 30 31 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |