jj/lib/tests
Martin von Zweigbergk e48ace56d1 conflicts: replace missing files by empty in materialized conflict
When we materialize modify/delete conflicts, we currently don't
include any context lines. That's because modify/delete conflicts have
only two sides, so there's no common base to compare to. Hunks that
are unchanged on the "modify" side are therefore not considered
conflicting, and since they they don't contribute new changes, they're
simply skipped (here:
3dfedf5814/lib/src/files.rs (L228-L230)).

It seems more useful to instead pretend that the missing side is an
empty file. That way we'll get a conflict in the entire file.

We can still decide later to make e.g. `jj resolve` prompt the user on
modify/delete conflicts just like `hg resolve` does (or maybe it
actually happens earlier there, I don't remember).

Closes #1244.
2023-02-17 22:19:04 -08:00
..
test_bad_locking.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_commit_builder.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_commit_concurrent.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_conflicts.rs conflicts: replace missing files by empty in materialized conflict 2023-02-17 22:19:04 -08:00
test_diff_summary.rs
test_git.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_index.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_init.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_load_repo.rs op_heads_store: remove LockedOpHeads 2023-01-20 15:18:08 -08:00
test_merge_trees.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_mut_repo.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_operations.rs repo: replace RepoRef by Repo trait 2023-02-15 19:15:17 -08:00
test_refs.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_revset.rs repo: replace RepoRef by Repo trait 2023-02-15 19:15:17 -08:00
test_revset_graph_iterator.rs repo: replace RepoRef by Repo trait 2023-02-15 19:15:17 -08:00
test_rewrite.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_view.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_working_copy.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_working_copy_concurrent.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_working_copy_sparse.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00
test_workspace.rs repo: extract a Repo trait for Arc<ReadonlyRepo> and MutableRepo 2023-02-15 19:15:17 -08:00