sapling/eden/scm/edenscm/mercurial/cext
Durham Goode f5a2347fbb py3: fix Mononoke Python 3 test failures
Summary:
Fixes a few issues with Mononoke tests in Python 3.

1. We need to use different APIs to account for the unicode vs bytes difference
for path hash encoding.
2. We need to set the language environment for tests that create utf8 file
paths.
3. We need the redaction message and marker to be bytes.  Oddly this test still
fails with jq CLI errors, but it makes it past the original error.

Reviewed By: quark-zju

Differential Revision: D23582976

fbshipit-source-id: 44959903aedc5dc9c492ec09a17b9c8e3bdf9457
2020-09-09 18:31:04 -07:00
..
__init__.py remediation of S205607 2020-07-17 17:16:13 -07:00
base85.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
base85.pyi start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
bdiff.c py3: fix various wireprotocol related tests 2020-04-13 15:28:24 -07:00
bdiff.pyi start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
charencode.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
charencode.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
dirs.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
manifest.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mpatch.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mpatch.pyi start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
osutil.c fsinfo: remove old getfstype implementation 2020-03-11 17:35:41 -07:00
osutil.pyi start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
parsers.c py3: use 's' instead of 'C' for dirstatetuple parsing 2020-02-27 13:07:13 -08:00
parsers.pyi add type annotations to dirstate.py 2020-08-11 21:45:04 -07:00
pathencode.c py3: fix Mononoke Python 3 test failures 2020-09-09 18:31:04 -07:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
revlog.c changelog: use Rust RevlogIndex for nodemap 2020-07-30 20:32:35 -07:00
util.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
xdiff.c xdiff: renamed third-party xdiff functions 2020-07-09 01:20:32 -07:00
xdiff.pyi start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00

cext

Native code used by core Mercurial (not extensions), that depends on Python, lives here.

See also hgext/extlib/README.md, lib/README.md.