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.
401 B · 19 lines
PHP
1234567891011121314151617181920<?php
final class DiffusionMercurialFileContentQuery extends DiffusionFileContentQuery {
protected function newQueryFuture() { $drequest = $this->getRequest();
$repository = $drequest->getRepository(); $path = $drequest->getPath(); $commit = $drequest->getCommit();
return $repository->getLocalCommandFuture( 'cat --rev %s -- %s', $commit, $path); }
}