sapling/eden
Muir Manders bf350df905 hg-http: unify "convert-cert" config
Summary:
"convert-cert" is required for HTTPS to work on Windows, but previously it didn't get set by default. Mercurial set it globally, edenapi client set it locally (for usage via EdenFS), but revisionstore/lfs did not set it locally (so it didn't work via EdenFS on Windows).

hg_http::http_config() is a new function that creates an http_client::Config from an hg config. This config is then passed to hg_http::http_client() (and the client passes it along to requests). This is the new unified way to configure http knobs via the hg config. Currently it only configures convert_cert, but I will move more settings over.

This commit should fix rust LFS fetching via EdenFS on Windows.

Reviewed By: DurhamG

Differential Revision: D33107052

fbshipit-source-id: 2eb46b3745046a90ecac532b3526371843a79fed
2021-12-17 00:41:26 -08:00
..
fs cli: list and collect EdenFS minidumps on Windows 2021-12-16 22:55:14 -08:00
hg-server Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
integration edenapi: use "reponame" associated by Client 2021-12-15 02:09:59 -08:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke rust: remove mysql_common patch by updating mysql_async 2021-12-16 13:21:10 -08:00
scm hg-http: unify "convert-cert" config 2021-12-17 00:41:26 -08:00
test_support test_support: canonicalize the temporary directory path 2021-08-16 16:08:45 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore
Eden.project.toml