mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01: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:
parent
bf3d32e34e
commit
b8c9c385a7
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue