From 92819458b876c05082dad9c36e6fffbfadbf0283 Mon Sep 17 00:00:00 2001 From: Jamie Wong Date: Thu, 17 May 2012 11:55:55 -0400 Subject: [PATCH] Make arc diff work with multiple heads in hg --- src/repository/api/mercurial/ArcanistMercurialAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0