1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-24 06:20:55 +01:00

Merge pull request #28 from phleet/hg-multiple-heads

Make arc diff work with multiple heads in hg
This commit is contained in:
Evan Priestley 2012-05-17 10:42:17 -07:00
commit 1369168161

View file

@ -174,7 +174,7 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
"{node}\1{rev}\1{author}\1{date|rfc822date}\1".
"{branch}\1{tag}\1{parents}\1{desc}\2",
$this->getRelativeCommit(),
$this->getWorkingCopyRevision().':0',
"ancestors({$this->getWorkingCopyRevision()})",
$this->getBranchName());
$logs = array_filter(explode("\2", $info));