jj/lib
Martin von Zweigbergk 4fa2a27f38 working_copy: treat a missing file state as dirty
If we don't have a recorded state for a file, we assume that it's new,
so we add it to the tree as the type it appears on disk. That means we
won't check if it exists as a conflict in the current tree. As another
step towards making the file state just a cache, let's instead treat
this case as a dirty file, so we look up the current value from the
tree. That means that adding files will be a tiny bit slower, but I
doubt it will be noticeable (we need to read the file from disk and
write it to the backend anyway).
2023-07-31 05:59:30 +00:00
..
benches
gen-protos
src working_copy: treat a missing file state as dirty 2023-07-31 05:59:30 +00:00
tests revset_graph: preserve original parents order 2023-07-29 05:36:09 +09:00
testutils tests: add TestWorkspace::snapshot() to simplify snapshotting 2023-07-28 09:32:18 -07:00
Cargo.toml