enable remotenames extension in cpp tests

Summary:
The remotenames extension was enabled everywhere in production. It is
unsupported if remotenames is disabled.

Ideally the cpp tests should use the in-repo configuration instead of
maintaining its own hardcoded hgrc. For now I just did the minimal change to
unblock tests.

Reviewed By: fanzeyi

Differential Revision: D21986274

fbshipit-source-id: b632da074baf4026f331381ae8f2f8479a34e1b3
This commit is contained in:
Jun Wu 2020-06-10 22:34:05 -07:00 committed by Facebook GitHub Bot
parent 17eb13e7b5
commit 277933aad8

View File

@ -113,6 +113,7 @@ void HgRepo::enableTreeManifest(AbsolutePathPiece cacheDirectory) {
appendToHgrc(
"[extensions]\n"
"remotefilelog =\n"
"remotenames =\n"
"treemanifest =\n"
"[treemanifest]\n"
"treeonly = true\n"