Changeset View
Changeset View
Standalone View
Standalone View
src/repository/graph/query/ArcanistMercurialCommitGraphQuery.php
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | protected function beginExecute() { | ||||
$future = $api->newFuture( | $future = $api->newFuture( | ||||
'log --rev %s --template %s %Ls --', | 'log --rev %s --template %s %Ls --', | ||||
$revsets, | $revsets, | ||||
$template, | $template, | ||||
$flags); | $flags); | ||||
$future->setResolveOnError(true); | $future->setResolveOnError(true); | ||||
$future->start(); | $future->start(); | ||||
$lines = id(new LinesOfALargeExecFuture($future)) | $lines = (new LinesOfALargeExecFuture($future)) | ||||
->setDelimiter("\1"); | ->setDelimiter("\1"); | ||||
$lines->rewind(); | $lines->rewind(); | ||||
$this->queryFuture = $lines; | $this->queryFuture = $lines; | ||||
} | } | ||||
protected function continueExecute() { | protected function continueExecute() { | ||||
$graph = $this->getGraph(); | $graph = $this->getGraph(); | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0