mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Merge branch '1.4'
This commit is contained in:
commit
34dbde3873
5 changed files with 25 additions and 21 deletions
|
@ -118,7 +118,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue