Commit 675de5a
committed
Hook hgdemandimport to fix Mercurial in intercepted terminals
Without this, 'hg' fails with:
ModuleNotFoundError: No module named 'http.cookiejar
Not totally clear why, but it's fairly clearly an interaction between
our funky import hooks and their funky import hooks. This module
appears to be a startup time optimization, and it's certainly optional
(there's an env var to disable it, and a built-in list of modules it
doesn't support) so best to just no-op it's enable() function.1 parent 96c5894 commit 675de5a
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments