Differential D16851 Diff 40582 src/applications/diffusion/ssh/DiffusionMercurialServeSSHWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/ssh/DiffusionMercurialServeSSHWorkflow.php
Show All 21 Lines | $this->setArguments( | ||||
'wildcard' => true, | 'wildcard' => true, | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
protected function identifyRepository() { | protected function identifyRepository() { | ||||
$args = $this->getArgs(); | $args = $this->getArgs(); | ||||
$path = $args->getArg('repository'); | $path = $args->getArg('repository'); | ||||
return $this->loadRepositoryWithPath($path); | return $this->loadRepositoryWithPath( | ||||
$path, | |||||
PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL); | |||||
} | } | ||||
protected function executeRepositoryOperations() { | protected function executeRepositoryOperations() { | ||||
$repository = $this->getRepository(); | $repository = $this->getRepository(); | ||||
$args = $this->getArgs(); | $args = $this->getArgs(); | ||||
if (!$args->getArg('stdio')) { | if (!$args->getArg('stdio')) { | ||||
throw new Exception(pht('Expected `%s`!', 'hg ... --stdio')); | throw new Exception(pht('Expected `%s`!', 'hg ... --stdio')); | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |