sapling/eden/integration/hg
Mark Juggurnauth-Thomas 02c0bfc9e3 make hg inform edenfs of newly created root manifests
Summary:
If Mercurial asks EdenFS to update to a commit that it has just created, this
can cause a long delay while EdenFS tries to import the commit.

EdenFS needs to resolve the commit to a root manifest.  It does this via the
import helper, but the import helper won't know about the commit until it is
restarted, which takes a long time.

To fix this, we add an optional "root manifest" parameter to the checkout or
reset parents thrift calls.  This allows the Mercurial client to inform EdenFS
of the root manifest that it already knows about, allowing EdenFS to skip this
step.

Reviewed By: chadaustin

Differential Revision: D29845604

fbshipit-source-id: 61736d84971cd2dd9a8fdaa29a1578386246e4bf
2021-07-29 10:01:02 -07:00
..
lib integration: run the hg integration tests with NFS too 2021-05-26 14:05:48 -07:00
absorb_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
add_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
CMakeLists.txt enable all integration test sources in CMake builds 2020-05-04 11:46:09 -07:00
commit_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
copy_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
debug_clear_local_caches_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
debug_get_parents.py make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
debug_hg_dirstate_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
diff_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
doctor_test.py make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
files_test.py integration: enable files_test on Windows 2020-08-03 11:26:31 -07:00
fold_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
graft_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
grep_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
histedit_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
journal_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
merge_test.py integration: fix merge tests 2020-11-02 20:47:29 -08:00
move_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
negative_caching_test.py integration: run the hg integration tests with NFS too 2021-05-26 14:05:48 -07:00
non_eden_operation_test.py Daily arc lint --take BLACK 2021-06-15 10:03:43 -07:00
post_clone_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
pull_test.py integration: fix pull_test with getdeps 2021-07-27 16:16:30 -07:00
README.md move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
rebase_test.py inodes: invalidate more on Windows 2020-08-03 11:26:31 -07:00
revert_test.py fix hg revert on conflicted file during conflict resolution 2020-03-16 18:35:20 -07:00
rm_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
rollback_test.py revlog: turn on head-based-commit-transaction for tests 2020-07-08 14:33:58 -07:00
sparse_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
split_test.py run linter in eden/integration 2021-01-25 16:13:54 -08:00
status_deadlock_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
status_test.py integration: run the hg integration tests with NFS too 2021-05-26 14:05:48 -07:00
storage_engine_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
symlink_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
undo_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
update_test.py inodes: properly handle case changes in case insensitive mounts 2021-06-17 23:07:06 -07:00

Integration tests in this directory are specific to the Eden extension for Mercurial.

Most tests will want to subclass HgExtensionTestBase.