getRepositoryAPI(); if (!($repository_api instanceof ArcanistMercurialAPI)) { throw new ArcanistUsageException( 'arc bookmark is only supported under Mercurial.'); } return parent::run(); } }