Fixed root identifier: Use global hash instead of local revision
parent
f6b9488bf0
commit
f74dafc08c
|
@ -55,7 +55,7 @@ class HgDriver implements VcsDriverInterface
|
||||||
{
|
{
|
||||||
$tmpDir = escapeshellarg($this->tmpDir);
|
$tmpDir = escapeshellarg($this->tmpDir);
|
||||||
if (null === $this->rootIdentifier) {
|
if (null === $this->rootIdentifier) {
|
||||||
exec(sprintf('cd %s && hg tip --template "{rev}:{node|short}" --color never', $tmpDir), $output);
|
exec(sprintf('cd %s && hg tip --template "{node}" --color never', $tmpDir), $output);
|
||||||
$this->rootIdentifier = $output[0];
|
$this->rootIdentifier = $output[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue