Page MenuHomec4science

DiffusionMercurialExistsQuery.php
No OneTemporary

File Metadata

Created
Thu, Nov 28, 15:23

DiffusionMercurialExistsQuery.php

<?php
final class DiffusionMercurialExistsQuery extends DiffusionExistsQuery {
protected function executeQuery() {
$request = $this->getRequest();
$repository = $request->getRepository();
list($err, $stdout) = $repository->execLocalCommand(
'id --rev %s',
$request->getCommit());
return !$err;
}
}

Event Timeline