jj/lib/tests
Martin von Zweigbergk c0ae4b16e8 trees: try to resolve file conflicts after simplifying conflicts
This fixes a bug I've run into somewhat frequently. What happens is
that if you have a conflict on top of another conflict and you resolve
the conflict in the bottom commit, we just simplify the `Conflict`
object in the second commit, but we don't try to resolve the new
conflict. That shows up as an unexpected "conflict" in `jj log`
output, and when you check out the commit, there are actually no
conflicts, so you can just `jj squash` right away.

This patch fixes that bug. It also teaches the code to work with more
than 3 parts in the merge, so if there's a 5-way conflict, for
example, we still try to resolve it if possible.
2021-10-22 09:20:50 -07:00
..
test_bad_locking.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
test_commit_builder.rs evolution: don't create pruned commits (#32) 2021-10-06 23:20:23 -07:00
test_commit_concurrent.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
test_conflicts.rs conflicts: work around rust-lang/rust#89716 2021-10-13 13:41:09 -07:00
test_diff_summary.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
test_git.rs git: don't update public heads for now 2021-10-20 14:23:58 -07:00
test_index.rs MutableRepo: accept just CommitId instead of whole Commit where possible 2021-09-29 10:13:32 -07:00
test_init.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
test_load_repo.rs MutableRepo: accept just CommitId instead of whole Commit where possible 2021-09-29 10:13:32 -07:00
test_merge_trees.rs trees: try to resolve file conflicts after simplifying conflicts 2021-10-22 09:20:50 -07:00
test_mut_repo.rs backend: remove unused Commit::is_pruned (#32) 2021-10-06 23:53:15 -07:00
test_operations.rs evolution: delete it now that we don't use it anymore (#32) 2021-10-06 23:28:30 -07:00
test_refs.rs tests: use CommitGraphBuilder in test_refs.rs 2021-08-18 09:58:44 -07:00
test_revset.rs revset: make head() accept candidate set to find heads within 2021-10-13 09:41:20 -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_rewrite.rs DescendantRebaser: also remove old heads 2021-10-06 22:01:39 -07:00
test_view.rs tests: update a test to not point a branch to an unreachable commit 2021-10-02 23:08:45 -07:00
test_working_copy.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
test_working_copy_concurrent.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00