forked from mirrors/jj
e384f97b20
If we have recorded in `MutableRepo` that commits have been abandoned or rewritten, we should always rebase descendants before committing the transaction (otherwise there's no reason to record the rewrites). That's not much of a risk in the CLI because we already have that logic in a central place there (`finish_transaction()`), but other users of the library crate could easily miss it. Perhaps we should automatically do any necessary rebasing we commit the transaction in the library crate instead, but for now let's just have a check for that to catch such bugs. |
||
---|---|---|
.. | ||
test_bad_locking.rs | ||
test_commit_builder.rs | ||
test_commit_concurrent.rs | ||
test_conflicts.rs | ||
test_diff_summary.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 | ||
test_workspace.rs |