jj/lib/src
Martin von Zweigbergk d886d8c203 conflicts: extract methods for converting to/from generic legacy form
We already have the new `Conflict::from_backend_conflict()` for
converting from a `backend::Conflict`, but we model conflicts in a
similar way in at least `RefTarget`. I'd like to be able to use
`conflicts::Conflict` there too. To prepare for that, let's extract
generic methods from `Conflict::from_backend_conflict()` and
`Conflict::to_backend_conflict()`.

I'm not sure I'll get around to making `RefTarget` use `Conflict` but
this commit seems like nice cleanup either way. It makes the tests
simpler if nothing else.
2023-06-13 21:48:35 +02:00
..
lock
protos working_copy: get conflict id from the current tree 2023-05-31 06:28:15 -07:00
backend.rs
commit.rs
commit_builder.rs
conflicts.rs conflicts: extract methods for converting to/from generic legacy form 2023-06-13 21:48:35 +02:00
content_hash.rs
dag_walk.rs dag_walk: add lazy topo-order iterator for chronological data 2023-06-11 11:38:03 +09:00
default_index_store.rs dag_walk: rename bfs() to dfs() because it's depth-first 2023-06-04 11:47:49 +09:00
default_revset_engine.rs index: pass only CompositeIndex to default_revset_engine::evaluate() 2023-05-29 08:15:40 +09:00
default_revset_graph_iterator.rs
diff.rs
file_util.rs
files.rs merge: make trivial_merge() return a reference 2023-05-31 06:28:01 -07:00
git.rs revset: allow checking out git-tracking (@git) branches 2023-06-12 14:31:44 -07:00
git_backend.rs
gitignore.rs
hex_util.rs
id_prefix.rs
index.rs
lib.rs
local_backend.rs
lock.rs
matchers.rs
merge.rs merge: make trivial_merge() return a reference 2023-05-31 06:28:01 -07:00
nightly_shims.rs
op_heads_store.rs dag_walk: reorder and adjust signature of neighbors_fn for consistency 2023-06-04 11:47:49 +09:00
op_store.rs
operation.rs operation: iterate ancestors incrementally with timestamp-based heuristic 2023-06-11 11:38:03 +09:00
refs.rs
repo.rs dag_walk: extract topo-order helper that doesn't reverse the result 2023-06-11 11:38:03 +09:00
repo_path.rs
revset.pest
revset.rs revsets: stop jj parsing br as a git_ref refs/heads/br 2023-06-12 14:31:44 -07:00
rewrite.rs dag_walk: unbox topo_order_reverse() callback 2023-06-04 11:47:49 +09:00
settings.rs feat(diff): add ui.diff-instructions option to suppress JJ-INSTRUCTIONS file 2023-06-06 22:43:14 -07:00
simple_op_heads_store.rs
simple_op_store.rs
stacked_table.rs cleanup: avoid some unnecessary uses of Cursor 2023-05-30 21:06:24 -07:00
store.rs conflicts: extract methods for converting to/from generic legacy form 2023-06-13 21:48:35 +02:00
transaction.rs cli: in jj git push, create transaction in a single place 2023-06-04 20:50:11 -07:00
tree.rs tree: don't read file contents on contents/executable "conflict" 2023-06-13 08:49:46 +02:00
tree_builder.rs tree_builder: populate base trees by recursion 2023-06-02 12:23:37 +09:00
view.rs
working_copy.rs conflicts: remove ConflictId from update_conflict_from_content() 2023-06-13 08:49:46 +02:00
workspace.rs