From 82016c00e132c12d761d49756a2fee059f194732 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 26 Jul 2021 11:47:23 -0700 Subject: [PATCH] Name extension as "arc-hg", not "arg-hg" Summary: Ref T13659. I don't think this name actually matters since Mercurial doesn't care what the extension name is, but be a little more consistent. Test Plan: Ran "arc land ..." and saw it run "arc-hg" commands. There's no behavioral change here: Mercurial loads the extension and runs fine no matter what name we provide. Reviewers: cspeckmim Reviewed By: cspeckmim Maniphest Tasks: T13659 Differential Revision: https://secure.phabricator.com/D21711 --- src/repository/api/ArcanistMercurialAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php index 55ef9ef5..91d59863 100644 --- a/src/repository/api/ArcanistMercurialAPI.php +++ b/src/repository/api/ArcanistMercurialAPI.php @@ -1056,7 +1056,7 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI { $path = phutil_get_library_root('arcanist'); $path = dirname($path); $path = $path.'/support/hg/arc-hg.py'; - $ext_config = 'extensions.arg-hg='.$path; + $ext_config = 'extensions.arc-hg='.$path; break; case 'rebase': $ext_config = 'extensions.rebase=';