From b8fb074dcf0047d854560a2b56b6aa80218aafb8 Mon Sep 17 00:00:00 2001 From: Jamie Wong Date: Wed, 16 May 2012 13:24:30 -0400 Subject: [PATCH] Make arc diff not crash on hg bookmarks --- src/repository/parser/mercurial/ArcanistMercurialParser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/repository/parser/mercurial/ArcanistMercurialParser.php b/src/repository/parser/mercurial/ArcanistMercurialParser.php index 7ce13097..7847bd9f 100644 --- a/src/repository/parser/mercurial/ArcanistMercurialParser.php +++ b/src/repository/parser/mercurial/ArcanistMercurialParser.php @@ -176,6 +176,9 @@ final class ArcanistMercurialParser { case 'tag': $commit['tag'] = $value; break; + case 'bookmark': + $commit['bookmark'] = $value; + break; default: throw new Exception("Unknown Mercurial log field '{$name}'!"); }