Summary:
Fix up test-check-module-imports, mostly by using absolute imports where
possible.
Also, some lfs errors have been removed, so remove their tests failures too.
Test Plan: Run test-check-module-imports test.
Reviewers: durham, #mercurial
Reviewed By: durham
Differential Revision: https://phabricator.intern.facebook.com/D6679241
Tasks: T24908724
Signature: 6679241:1515457419:2f8683206c8d43af99254c9f75f08af374673c2f
Summary:
The `lib/linelog` directory contains pure C code that is unrelated from
either Mercurial or Python. The `mercurial/cyext` contains Cython extension
code (although for linelog's case, the Cython extension is unrelated from
Mercurial).
Cython is now a hard dependence to simplify the code.
Test Plan: `make local` and check `from mercurial.cyext import linelog` works.
Reviewers: durham, #mercurial
Reviewed By: durham
Subscribers: durham, fried
Differential Revision: https://phabricator.intern.facebook.com/D6678541
Signature: 6678541:1515455512:967266dc69c702dbff95fdea05671e11c32ebf28
Summary:
Move the rust libraries and extensions to their new locations, and integrate
them with the hg-crew setup.py.
Test Plan: Run `python setup.py build` and verify rust extensions are built.
Reviewers: durham, #mercurial
Reviewed By: durham
Subscribers: fried, jsgf, mitrandir
Differential Revision: https://phabricator.intern.facebook.com/D6677251
Tasks: T24908724
Signature: 6677251:1515450235:920faf40babbce9b09e3283ff9ca328d1c5c51e6
Summary: Just discovered this typo while browsing through code.
Test Plan: Ran all the tests.
Reviewers: mitrandir, #sourcecontrol
Reviewed By: mitrandir
Differential Revision: https://phabricator.intern.facebook.com/D6677652
Signature: 6677652:1515448670:ff355bcce1beaf1614517b5fc6b39978565b33ac
Summary:
cdatapack depends on clib, so let's move it to lib/ outside of fb-hgext.
None of the consumers of these files were changed. They will be changed as they
are moved into the main part of the repo.
Test Plan: hg purge --all && make local && cd tests && ./run-tests.py -S -j 48
Reviewers: mitrandir, #mercurial
Reviewed By: mitrandir
Differential Revision: https://phabricator.intern.facebook.com/D6677197
Signature: 6677197:1515447873:399fb3e7beb5cc1ad8db18f42b359ffbfbeb21f2
Summary: Per discussion with quark@, we actually don't use this anymore as the extension was
upstreamed, and we now use the upstream version.
Test Plan: howdoi
Reviewers: mercurial
Subscribers:
Tasks:
Tags:
Summary:
cdatapack depends on sha1detectcoll, so let's add the library to setup.py before
we add cdatapack.
Test Plan:
hg purge --all && make local && cd tests/ && ./run-tests.py -S -j 48
Verified sha1dc was in the build output and the tests passed.
Reviewers: quark, #mercurial
Reviewed By: quark
Differential Revision: https://phabricator.intern.facebook.com/D6676405
Signature: 6676405:1515444508:2da65c6c3a18267a1d3c151c8e9acf60b674ffc2
Summary:
The prebuilt directory was added by D5252935 to allow a third-party to build
our extensions without a working Cython. Since the third-party is unlikely
to use this version and our build infra does have a working Cython. Let's
remove prebuilt directory.
Test Plan: `make local` in fb-hgext and it works.
Reviewers: rmcelroy, #mercurial
Reviewed By: rmcelroy
Differential Revision: https://phabricator.intern.facebook.com/D6675678
Signature: 6675678:1515436932:a5bada0edbb06584cc5e4031cb628a1a946d6047
Summary:
For the purposes of easier identification of tests which came from fb-hgext,
let's rename them all, even the ones for remotefilelog and so on. Once everything
is in hg-crew properly, we can rename things to not be named like this.
Depends on D6675292
Test Plan: - just a rename
Reviewers: #sourcecontrol
Differential Revision: https://phabricator.intern.facebook.com/D6675309
Summary: Our own sparse is now renamed to fbsparse.
Test Plan: - just a dropped file, no big deal.
Reviewers: #sourcecontrol
Differential Revision: https://phabricator.intern.facebook.com/D6675292