ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk d80903ce48 index: also index predecessors
Evolution needs to have fast access to the predecessors. This change
adds that information to the commit index.

Evolution also needs fast access to the change id and the bit saying
whether a commit is pruned. We'll add those soon.

Some tests changed because they previously added commits with
predecessors that were not indexed, which is no longer allowed from
this change. (We'll probably eventually want to allow that again, so
that the user can prune predecessors they no longer care about from
the repo.)
2021-02-26 10:33:34 -08:00
..
test_bad_locking.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_commit_builder.rs index: also index predecessors 2021-02-26 10:33:34 -08:00
test_commit_concurrent.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_diff_summary.rs cargo: rename crates to names available on crates.io 2021-01-03 10:16:00 -08:00
test_evolution.rs evolve: pass Transaction to listener functions, so they see the updated state 2021-02-21 22:27:13 -08:00
test_git.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_index.rs index: when writing incremental index, squash into parent file if smaller 2021-02-16 23:47:43 -08:00
test_init.rs cargo: rename crates to names available on crates.io 2021-01-03 10:16:00 -08:00
test_load_repo.rs repo: return error when attempting to load repo where there is none 2021-01-04 09:18:09 -08:00
test_merge_trees.rs cargo: rename crates to names available on crates.io 2021-01-03 10:16:00 -08:00
test_operations.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_transaction.rs transaction: write incremental index on commit 2021-02-15 11:03:41 -08:00
test_view.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_working_copy.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_working_copy_concurrent.rs repo: return error when attempting to load repo where there is none 2021-01-04 09:18:09 -08:00