jj/lib/tests
Yuya Nishihara aaa2025dfc git: on fetch, pin visible untracked remote refs
This implements the other workaround described in 57167cefda "git: on
import_refs(), don't abandon ancestors of newly fetched refs":

> I think there are two ways to fix the problem:
>  a. pin non-tracking remote branches just like local refs
>  b. pin newly fetched refs in addition to local refs
> This patch implements (b) because it's simpler and more obvious that the
> fetched commits would never be abandoned immediately.

The idea of (a) is that untracked remote branches are independent read-only
refs, and read-only branches shouldn't be rewritten implicitly. Once the
branch gets rewritten or abandoned by user, these remote refs will be hidden,
and won't be pinned anymore.

Since (a) effectively supersedes (b), this patch also removes the original
workaround.

Fixes #3495
2024-04-14 11:38:21 +09:00
..
runner.rs sign: Add SSH backend tests 2024-02-20 00:02:08 +00:00
test_bad_locking.rs
test_commit_builder.rs
test_commit_concurrent.rs
test_conflicts.rs test_conflicts and test_resolve_command: use indoc! to indent conflict markers in tests 2024-03-22 23:27:25 -07:00
test_default_revset_graph_iterator.rs index: reorganize revset_graph_iterator as private module of default_index 2024-03-14 10:07:19 +09:00
test_diff_summary.rs
test_git.rs git: on fetch, pin visible untracked remote refs 2024-04-14 11:38:21 +09:00
test_git_backend.rs
test_gpg.rs gpg_signing: handle early termination of gpg command in verify path 2024-03-03 18:35:10 +09:00
test_id_prefix.rs
test_index.rs index: turn CompositeIndex into transparent reference type 2024-03-11 17:24:10 +09:00
test_init.rs
test_load_repo.rs
test_local_working_copy.rs working_copy: implement symlinks on windows with a helper function 2024-03-05 15:16:38 +08:00
test_local_working_copy_concurrent.rs
test_local_working_copy_sparse.rs
test_merge_trees.rs
test_merged_tree.rs
test_mut_repo.rs repo: delete record_rewritten_commit() 2024-03-25 06:53:14 -07:00
test_operations.rs operation: add shorthand for .store_operation().metadata 2024-02-25 09:00:56 +09:00
test_refs.rs
test_revset.rs revset: migrate file() predicate to be based on FilesetExpression 2024-04-06 23:59:54 +09:00
test_rewrite.rs rewrite: update references after rewriting all commits 2024-03-25 23:00:44 -07:00
test_signing.rs
test_ssh_signing.rs sign: Add SSH backend tests 2024-02-20 00:02:08 +00:00
test_view.rs
test_workspace.rs working_copy: add Send supertrait 2024-02-17 15:13:25 +08:00