diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 627de584..40b2f662 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -425,6 +425,7 @@ phutil_register_library_map(array( 'ArcanistVariableVariableXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistVariableVariableXHPASTLinterRule.php', 'ArcanistVariableVariableXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistVariableVariableXHPASTLinterRuleTestCase.php', 'ArcanistVersionWorkflow' => 'workflow/ArcanistVersionWorkflow.php', + 'ArcanistWeldWorkflow' => 'workflow/ArcanistWeldWorkflow.php', 'ArcanistWhichWorkflow' => 'workflow/ArcanistWhichWorkflow.php', 'ArcanistWorkflow' => 'workflow/ArcanistWorkflow.php', 'ArcanistWorkingCopyIdentity' => 'workingcopyidentity/ArcanistWorkingCopyIdentity.php', @@ -872,6 +873,7 @@ phutil_register_library_map(array( 'ArcanistVariableVariableXHPASTLinterRule' => 'ArcanistXHPASTLinterRule', 'ArcanistVariableVariableXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase', 'ArcanistVersionWorkflow' => 'ArcanistWorkflow', + 'ArcanistWeldWorkflow' => 'ArcanistWorkflow', 'ArcanistWhichWorkflow' => 'ArcanistWorkflow', 'ArcanistWorkflow' => 'Phobject', 'ArcanistWorkingCopyIdentity' => 'Phobject', diff --git a/src/repository/parser/ArcanistMercurialParser.php b/src/repository/parser/ArcanistMercurialParser.php index 8317cc7c..4eb10e2f 100644 --- a/src/repository/parser/ArcanistMercurialParser.php +++ b/src/repository/parser/ArcanistMercurialParser.php @@ -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)); diff --git a/src/unit/parser/ArcanistGoTestResultParser.php b/src/unit/parser/ArcanistGoTestResultParser.php index ce6451f5..92a9c9ae 100644 --- a/src/unit/parser/ArcanistGoTestResultParser.php +++ b/src/unit/parser/ArcanistGoTestResultParser.php @@ -68,7 +68,7 @@ final class ArcanistGoTestResultParser extends ArcanistTestResultParser { if (strncmp($line, 'ok', 2) === 0) { $meta = array(); preg_match( - '/^ok[\s\t]+(?P\w.*)[\s\t]+(?P