mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
ab8071fa35
Summary: Remove `thirdparty/pyre2/__init__.py` from the `libhg` sources list. We don't compile the `thirdparty/pyre2/_re2.cc` file in the fbcode build, so importing the `__init__.py` module from this package just triggers an ImportError when the code tries to use it. The code then always falls back to using the version of pyre2 included from the `fb-re2` wheel. Dropping the `__init__.py` module from our library should simply trigger an ImportError earlier when we can't even find this file, and the code will still fall back to using `fb-re2`. Including this `__init__.py` file just causes issues for type checking, since it causes us to try and type check this file even though its dependencies are not present. Reviewed By: xavierd Differential Revision: D19958224 fbshipit-source-id: 34ea8806b6ee9377f17a9318c64c91ec242225df |
||
---|---|---|
.. | ||
benchmarks | ||
cli | ||
docs | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
py | ||
scm | ||
scripts | ||
test_support | ||
test-data | ||
third-party | ||
win | ||
.gitignore | ||
Eden.project.toml |