jj/lib/tests
Ilya Grigoriev 714aff63e6 git.rs: properly abandon commits from moved/deleted branches on remote (#864)
This bug concerns the way `import_refs` that gets called by `fetch` computes
the heads that should be visible after the import.

Previously, the list of such heads was computed *before* local branches were
updated based on changes to the remote branches. So, commits that should have
been abandoned based on this update of the local branches weren't properly
abandoned.

Now, `import_refs` tracks the heads that need to be visible because of some ref
in a mapping keyed by the ref. If the ref moves or is deleted, the
corresponding heads are updated.

Fixes #864
2023-05-17 17:57:58 -07:00
..
test_bad_locking.rs
test_commit_builder.rs git_backend: return timestamps for what was actually written 2023-05-12 15:20:44 -07:00
test_commit_concurrent.rs
test_conflicts.rs
test_default_revset_graph_iterator.rs revset: resolve visible heads prior to evaluation 2023-04-10 00:39:58 +09:00
test_diff_summary.rs
test_git.rs git.rs: properly abandon commits from moved/deleted branches on remote (#864) 2023-05-17 17:57:58 -07:00
test_id_prefix.rs id_prefix: remove repo field from IdPrefixContext 2023-05-11 23:41:24 -07:00
test_index.rs index: remove entry_by_id() from trait 2023-04-18 18:32:23 -07:00
test_init.rs backend: replace git_repo() by as_any() 2023-05-12 08:05:09 -07:00
test_load_repo.rs
test_merge_trees.rs
test_mut_repo.rs
test_operations.rs
test_refs.rs
test_revset.rs git_backend: return timestamps for what was actually written 2023-05-12 15:20:44 -07:00
test_rewrite.rs
test_view.rs
test_working_copy.rs working_copy: introduce snapshot progress callback 2023-05-06 11:07:46 -07:00
test_working_copy_concurrent.rs working_copy: introduce snapshot progress callback 2023-05-06 11:07:46 -07:00
test_working_copy_sparse.rs working_copy: introduce snapshot progress callback 2023-05-06 11:07:46 -07:00
test_workspace.rs