Fix for reading infinitepush.wantsunhydratedcommits and lfs.wantslfspointers config options in client telemetry

Summary:
hg.py has a hard coded list of what configs it will copy from the source repo to the remote repo object (hg.py remoteui())
we use one of lfs and one of infinitepush option in edenscm/hgext/clienttelemetry.py where the remote repo object is used

Reviewed By: ahornby

Differential Revision: D27906275

fbshipit-source-id: d551934437126fdd0b920354bf4c51a6e09bafb2
This commit is contained in:
Liubov Dmitrieva 2021-04-21 04:19:02 -07:00 committed by Facebook GitHub Bot
parent 56f6a45cc1
commit 0ca356f0de

View File

@ -1064,6 +1064,8 @@ def remoteui(src, opts):
"http_proxy",
"help",
"edenapi",
"infinitepush",
"lfs",
):
for key, val in src.configitems(sect):
dst.setconfig(sect, key, val, "copied")