From: Jamie Wong Date: Thu, 17 May 2012 15:55:55 +0000 (-0400) Subject: Make arc diff work with multiple heads in hg X-Git-Tag: conduit-4~3^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=92819458b876c05082dad9c36e6fffbfadbf0283;p=arcanist.git Make arc diff work with multiple heads in hg --- diff --git a/src/repository/api/mercurial/ArcanistMercurialAPI.php b/src/repository/api/mercurial/ArcanistMercurialAPI.php index eb74c52a..075903d9 100644 --- a/src/repository/api/mercurial/ArcanistMercurialAPI.php +++ b/src/repository/api/mercurial/ArcanistMercurialAPI.php @@ -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));