|
|
@ -185,7 +185,8 @@ class HgDriver extends VcsDriver implements VcsDriverInterface
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$exit = $this->process->execute(sprintf('cd %s && hg identify %s', escapeshellarg(sys_get_temp_dir()), escapeshellarg($url)), $ignored);
|
|
|
|
$processExecutor = new ProcessExecutor();
|
|
|
|
|
|
|
|
$exit = $processExecutor->process->execute(sprintf('cd %s && hg identify %s', escapeshellarg(sys_get_temp_dir()), escapeshellarg($url)), $ignored);
|
|
|
|
return $exit === 0;
|
|
|
|
return $exit === 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|