1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 00:49:11 +02:00

Survive extra "obsolete:" log output from the Mercurial evolve extension

Summary: See PHI502; see <https://bugzilla.mozilla.org/show_bug.cgi?id=1448137>.

Test Plan: I spent all of three minutes trying to install the `evolve` extension without success and gave up, but this probably does the right thing based on the example output in the Bugzilla issue.

Differential Revision: https://secure.phabricator.com/D19262
This commit is contained in:
epriestley 2018-03-26 14:08:42 -07:00
parent bf3d32e34e
commit b8c9c385a7

View file

@ -174,6 +174,10 @@ final class ArcanistMercurialParser extends Phobject {
case 'bookmark':
$commit['bookmark'] = $value;
break;
case 'obsolete':
// This is an extra field added by the "evolve" extension even
// if HGPLAIN=1 is set. See PHI502.
break;
default:
throw new Exception(
pht("Unknown Mercurial log field '%s'!", $name));