1
0
Fork 0

Merge pull request #6501 from Neurones67/1.4

Fix hg command to retrieve file content
pull/6517/head
Jordi Boggiano 2017-06-22 16:43:26 +02:00 committed by GitHub
commit b50eb26740
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class HgDriver extends VcsDriver
public function getFileContent($file, $identifier)
{
$resource = sprintf('hg cat -r %s %s', ProcessExecutor::escape($identifier), ProcessExecutor::escape($file));
$this->process->execute(sprintf('hg cat -r %s', $resource), $content, $this->repoDir);
$this->process->execute($resource, $content, $this->repoDir);
if (!trim($content)) {
return;