ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 7b724512dd repo: don't use stale view when checking for changes
I recently (0c441d9558) made it so we don't create an operation when
nothing changed. Soon thereafter (94e03f5ac8), I broke that when I
introduced a cache-invalidation bug when I made the filtering-out of
non-heads be lazy. This patch fixes that and also adds a test to
prevent regressions.
2021-12-05 22:01:48 -08:00
..
test_bad_locking.rs workspace: move search for .jj/ directory from Repo to Workspace 2021-11-25 21:08:43 -08:00
test_commit_builder.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_commit_concurrent.rs workspace: move search for .jj/ directory from Repo to Workspace 2021-11-25 21:08:43 -08:00
test_conflicts.rs tests: extract variable for store in test_conflicts 2021-11-25 21:04:56 -08:00
test_diff_summary.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_git.rs git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
test_index.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_init.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_load_repo.rs workspace: move search for .jj/ directory from Repo to Workspace 2021-11-25 21:08:43 -08:00
test_merge_trees.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_mut_repo.rs repo: don't use stale view when checking for changes 2021-12-05 22:01:48 -08:00
test_operations.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_refs.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_revset.rs revsets: add git_head() revset 2021-12-01 11:08:53 -08:00
test_revset_graph_iterator.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_rewrite.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_view.rs testutils: make init_repo return a struct, including a Workspace 2021-11-25 21:04:56 -08:00
test_working_copy.rs tests: remove some more calls to Repo::working_copy_path() 2021-11-25 21:07:28 -08:00
test_working_copy_concurrent.rs repo: remove working_copy(), only used in tests 2021-11-25 21:04:56 -08:00
test_workspace.rs workspace: move search for .jj/ directory from Repo to Workspace 2021-11-25 21:08:43 -08:00