jj/lib/tests
Martin von Zweigbergk dbf2a98903 rewrite: add CommitRewriter::record_abandoned_commit()
We already have two uses for this function and I think we're soon
going to have more.

The function record the old commit as abandoned with the new parents,
which is typically what you want. We could record it as abandoned with
the old parents instead but then we'd have to do an extra iteration to
find the parents when rebasing any children. It would also be
confusing if
`rewriter.set_parents(new_parents).record_abandoned_commit()` didn't
respect the new parents.
2024-04-30 20:03:57 -07:00
..
runner.rs repo: add method for tranforming descendants, use in rebase_descendants() 2024-04-18 21:06:52 -07:00
test_bad_locking.rs
test_commit_builder.rs
test_commit_concurrent.rs
test_conflicts.rs
test_default_revset_graph_iterator.rs
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 tests: compare git refs loaded from disk, not in-memory cache values 2024-04-22 18:46:28 +09:00
test_gpg.rs
test_id_prefix.rs
test_index.rs
test_init.rs
test_load_repo.rs
test_local_working_copy.rs
test_local_working_copy_concurrent.rs
test_local_working_copy_sparse.rs
test_merge_trees.rs rewrite: pass just IDs of new parents into rewrite::rebase*() 2024-04-17 06:13:54 -07:00
test_merged_tree.rs
test_mut_repo.rs
test_operations.rs
test_refs.rs
test_revset.rs revset: add a SymbolResolverExtension trait to provide custom resolvers 2024-04-26 10:55:34 -04:00
test_rewrite.rs rewrite: pass CommitRewriter into rebase_commit_with_options() 2024-04-18 08:08:51 -07:00
test_rewrite_transform.rs rewrite: add CommitRewriter::record_abandoned_commit() 2024-04-30 20:03:57 -07:00
test_signing.rs
test_ssh_signing.rs
test_view.rs
test_workspace.rs