1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

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
This commit is contained in:
epriestley 2021-07-26 11:47:23 -07:00
parent 76a2976fd9
commit 82016c00e1

View file

@ -1056,7 +1056,7 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
$path = phutil_get_library_root('arcanist'); $path = phutil_get_library_root('arcanist');
$path = dirname($path); $path = dirname($path);
$path = $path.'/support/hg/arc-hg.py'; $path = $path.'/support/hg/arc-hg.py';
$ext_config = 'extensions.arg-hg='.$path; $ext_config = 'extensions.arc-hg='.$path;
break; break;
case 'rebase': case 'rebase':
$ext_config = 'extensions.rebase='; $ext_config = 'extensions.rebase=';