ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 2afed65132 working_copy: move logic for creating commit to caller
The auto-rebasing of descendants doesn't work if you have an open
commit checked out, which means that you may still end up with orphans
in that case (though that's usually a short-lived problem since they
get rebased when you close the commit). I'm also about to make
branches update to successors, but that also doesn't work when the
branch is on a working copy commit that gets rewritten. To fix this
problem, I've decided to let the caller of `WorkingCopy::commit()`
responsible for the transaction.

I expect that some of the code that this change moves from the lib
crate to the cli crate will later move back into the lib crate in some
form.
2021-08-15 18:55:09 -07:00
..
test_bad_locking.rs
test_commit_builder.rs tree: support filtering diff by matcher 2021-06-09 16:26:58 -07:00
test_commit_concurrent.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
test_diff_summary.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
test_evolution.rs cleanup: add explicit import of assert_matches, as required by new rustc 2021-07-24 10:48:52 -07:00
test_git.rs git: force push when not known to be a fast-forward 2021-08-04 23:28:42 -07:00
test_index.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
test_init.rs working_copy: move logic for creating commit to caller 2021-08-15 18:55:09 -07:00
test_load_repo.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
test_merge_trees.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
test_mut_repo.rs view: rename insert_git_ref() to set_git_ref() 2021-08-04 08:45:37 -07:00
test_operations.rs
test_refs.rs view: add support for merging git ref targets 2021-07-24 19:01:56 -07:00
test_revset.rs view: rename insert_git_ref() to set_git_ref() 2021-08-04 08:45:37 -07:00
test_revset_graph_iterator.rs cleanup: commit transactions in tests when it's simpler 2021-07-30 17:47:00 -07:00
test_view.rs view: add support for ref-based branches and tags to model 2021-08-04 11:33:57 -07:00
test_working_copy.rs working_copy: move logic for creating commit to caller 2021-08-15 18:55:09 -07:00
test_working_copy_concurrent.rs working_copy: move logic for creating commit to caller 2021-08-15 18:55:09 -07:00