mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
855af710bb
Summary: In order to support remotefilelog, do not construct `mercurial.context.context` object directly. This reverts a previous attempt to use the fastest manifest look up - `ctx[path]` actually seems good enough. A minor change is made in `protocol.py` to ignore failed requests. Test Plan: Run existing tests Reviewers: #sourcecontrol, rmcelroy Reviewed By: rmcelroy Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4127025 Signature: t1:4127025:1478541481:c15477332582e2c9b22e2732e9e76bf37b5fba74
30 lines
953 B
Plaintext
30 lines
953 B
Plaintext
How to run Facebook experimental extensions tests
|
|
=================================================
|
|
|
|
Running the tests
|
|
-----------------
|
|
|
|
To run the tests, `cd` into this directory (./tests/) and run the `run-tests.py`
|
|
script from the core Mercurial repository (tests directory too).
|
|
|
|
For example if you have a 'hg-crew' repository checked out next to this one,
|
|
use:
|
|
|
|
../../hg-crew/tests/run-tests.py
|
|
|
|
Obtaining the test runners
|
|
--------------------------
|
|
|
|
If you do not already have a copy of the Mercurial repository, you can obtains
|
|
one with:
|
|
|
|
$ hg clone http://mercurial-scm.org/hg
|
|
|
|
Running against various Mercurial versions
|
|
------------------------------------------
|
|
|
|
By default, the test runners will run against the version of Mercurial in the
|
|
repository it lives in. you can run against other version of Mercurial using
|
|
the --with-hg=PATH flag. For example to run against the installed version of
|
|
Mercurial you can use --with-hg=`which hg`
|