jj/lib/tests
Essien Ita Essien 694dfb8722 jj-lib: abstract a lower-level api for fetching from git.
* GitFetch{} separates `fetch()` from `import_refs()`.
* This allows more control over the stages of the fetch so multiple fetches
  can happen before `import_refs` resolves the changes in the local jj repo.
* Implement `git::fetch` in terms of the new api.
* Add a test case for initial fetch from a repo without `HEAD` set. This tests
  the default branch retrieving behaviour.

Issue: #4923
2024-12-01 12:22:09 +00:00
..
runner.rs rewrite: fix duplicated commits to be rebased onto destination 2024-11-21 10:49:51 +09:00
test_annotate.rs annotate: add low-level function to specify starting file content 2024-11-12 08:26:42 +09:00
test_bad_locking.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_commit_builder.rs tests: extract helper that instantiates StackedConfig with commit timestamp 2024-11-30 10:01:05 +09:00
test_commit_concurrent.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_conflicts.rs conflicts: add "git" conflict marker style 2024-11-23 08:28:47 -06:00
test_default_revset_graph_iterator.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_git.rs jj-lib: abstract a lower-level api for fetching from git. 2024-12-01 12:22:09 +00:00
test_git_backend.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_gpg.rs
test_id_prefix.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_index.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_init.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_load_repo.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_local_working_copy.rs store: make get_tree() functions take owned repo path 2024-11-27 18:53:28 -08:00
test_local_working_copy_concurrent.rs tests: do not pass in commit objects loaded from different store 2024-11-30 10:20:43 +09:00
test_local_working_copy_sparse.rs conflicts: add "ui.conflict-marker-style" config 2024-11-23 08:28:47 -06:00
test_merge_trees.rs store: make get_tree() functions take owned repo path 2024-11-27 18:53:28 -08:00
test_merged_tree.rs merged_tree: remove redundant .clone() from TreeDiffStreamImpl::new() 2024-11-30 10:20:43 +09:00
test_mut_repo.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_operations.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_refs.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_revset.rs revset: allow tags() to take a pattern for an argument 2024-11-20 00:47:23 +00:00
test_rewrite.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_rewrite_duplicate.rs rewrite: fix duplicated commits to be rebased onto destination 2024-11-21 10:49:51 +09:00
test_rewrite_transform.rs
test_signing.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_ssh_signing.rs
test_view.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_workspace.rs testutils: move default_store_factories() to TestEnvironment 2024-11-02 08:39:02 +09:00