1
0
Fork 0

Fixed root identifier: Use global hash instead of local revision

pull/150/head
Per Bernhardt 2011-12-09 11:59:22 +01:00
parent f6b9488bf0
commit f74dafc08c
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class HgDriver implements VcsDriverInterface
{
$tmpDir = escapeshellarg($this->tmpDir);
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];
}