mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-02 09:28:40 +00:00
d00b805d97
When we remove support for evolution (#32), we need to still make it easy for application code to rebase descendants of rewritten and abandoned commits. The way applications currently do that is by using e.g. `CommitBuilder::for_rewrite_from()` followed by `evolve_orphans()`. This patch puts some bookkeeping in `MutableRepo` for rewritten and abandoned commits, along with a function for creating a `DescendantRebaser` based on it. I'll then make `CommitBuilder` record rewritten commits there. |
||
---|---|---|
.. | ||
test_bad_locking.rs | ||
test_commit_builder.rs | ||
test_commit_concurrent.rs | ||
test_diff_summary.rs | ||
test_evolution.rs | ||
test_git.rs | ||
test_index.rs | ||
test_init.rs | ||
test_load_repo.rs | ||
test_merge_trees.rs | ||
test_mut_repo.rs | ||
test_operations.rs | ||
test_refs.rs | ||
test_revset.rs | ||
test_revset_graph_iterator.rs | ||
test_rewrite.rs | ||
test_view.rs | ||
test_working_copy.rs | ||
test_working_copy_concurrent.rs |