jj/lib/tests
Yuya Nishihara 92cfffd843 git: on external HEAD move, do not abandon old branch
The current behavior was introduced by 20eb9ecec1 "git: don't abandon
HEAD commit when it loses a branch." While the change made HEAD mutation
behavior more consistent with a plain ref operation, HEAD can also move on
checkout, and checkout shouldn't be considered a history rewriting operation.

I'm not saying the new behavior is always correct, but I think it's safer
than losing old HEAD branch. I also think this change will help if we want
to extract HEAD management function from git::import_refs().

Fixes #1042.
2023-05-11 10:15:31 +09:00
..
test_bad_locking.rs
test_commit_builder.rs commit_builder: add accessors for most fields 2023-03-19 00:48:05 -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: on external HEAD move, do not abandon old branch 2023-05-11 10:15:31 +09:00
test_index.rs index: remove entry_by_id() from trait 2023-04-18 18:32:23 -07:00
test_init.rs
test_load_repo.rs
test_merge_trees.rs
test_mut_repo.rs
test_operations.rs repo: implement Repo on ReadonlyRepo instead of its Arc 2023-03-21 21:43:44 -07:00
test_refs.rs
test_revset.rs revset: add substitution rule for nested descendants/children 2023-04-24 20:45:13 +09: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