From 222800a86ed002c564e2760d6c5d9e93810b5b96 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 19 Jun 2018 12:06:15 -0700 Subject: [PATCH] Parse Mercurial changeset evolution "instability" log field Summary: See PHI718. Modern Mercurial with the "evolve" extension enabled may emit this field. Test Plan: As D19262. Reviewers: amckinley Reviewed By: amckinley Differential Revision: https://secure.phabricator.com/D19498 --- src/repository/parser/ArcanistMercurialParser.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/repository/parser/ArcanistMercurialParser.php b/src/repository/parser/ArcanistMercurialParser.php index 4eb10e2f..33e59c5c 100644 --- a/src/repository/parser/ArcanistMercurialParser.php +++ b/src/repository/parser/ArcanistMercurialParser.php @@ -175,8 +175,9 @@ final class ArcanistMercurialParser extends Phobject { $commit['bookmark'] = $value; break; case 'obsolete': - // This is an extra field added by the "evolve" extension even - // if HGPLAIN=1 is set. See PHI502. + case 'instability': + // These are extra fields added by the "evolve" extension even + // if HGPLAIN=1 is set. See PHI502 and PHI718. break; default: throw new Exception(