Mercurial native mode: configuring through WSGI environment
This is part of heptapod#364. Heptapod Workhorse will pass the `X-HEPTAPOD-HG-NATIVE` header with the appropriate value, and we use it to set configuration on the wished repository accordingly. We could have made the `env` argument of the `load_repo()` method optional (and hence hadn't needed to adapt existing tests), but nothing would then prove that it wasn't forgotten, even with coverage proving that `load_repo()` is indeed called (which it does).
parent
edbb23858466
No related branches found
Tags heptapod-0.12.0rc6
Please register or sign in to comment