mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
e0896400f5
Summary: This diff disables or rewrites problematic parts in linelog code on Windows - `mmap`, `ftruncate`, `sysconf`, `htonl` so the linelog module could be built without on-disk linelog support. That means `absorb` can work. `fastannotate` needs extra effort. Test Plan: `python setup.py install` and check in Python shell: ``` >>> import linelog >>> linelog.linelog() <open linelog (in-memory) at 0x3ab07bb5c8> ``` Also check the test pass: ``` fb-hgext\linelog\pyext>%PYTHONHOME%\python test-random-edits.py ``` Reviewers: #mercurial, ikostia Reviewed By: ikostia Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5093192 Signature: t1:5093192:1495161776:06e05544cff808b03546f753a553ecc66fafc79f |
||
---|---|---|
.. | ||
linelog.pyx | ||
test-random-edits.py |