jj/lib/tests
Martin von Zweigbergk 404f31cbc1 backend: add error variant for access denied, handle when diffing
Some backends, like the one we have at Google, can restrict access to
certain files. For such files, if they return a regular
`BackendError::ReadObject`, then that will terminate iteration in many
cases (e.g. when diffing or listing files). This patch adds a new
error variant for them to return instead, plus handling of such errors
in diff output and in the working copy.

In order to test the feature, I added a new commit backend that
returns the new `ReadAccessDenied` error when the caller tries to read
certain objects.
2024-05-30 18:27:38 -07:00
..
runner.rs repo: add method for tranforming descendants, use in rebase_descendants() 2024-04-18 21:06:52 -07:00
test_bad_locking.rs
test_commit_builder.rs cleanup: propagate errors from Commit::predecessors() 2024-05-13 07:39:14 -07:00
test_commit_concurrent.rs
test_conflicts.rs conflicts: label closing delimeter with conflict number 2024-05-20 18:36:51 -07:00
test_default_revset_graph_iterator.rs revset_graph: rename to graph and make generic over graph node type 2024-05-31 02:39:34 +08:00
test_diff_summary.rs
test_git.rs test_git.rs: delete now-useless test 2024-05-28 21:38:26 -07:00
test_git_backend.rs tests: compare git refs loaded from disk, not in-memory cache values 2024-04-22 18:46:28 +09:00
test_gpg.rs gpg_signing: handle early termination of gpg command in verify path 2024-03-03 18:35:10 +09:00
test_id_prefix.rs
test_index.rs index: turn CompositeIndex into transparent reference type 2024-03-11 17:24:10 +09:00
test_init.rs cleanup: propagate errors from Commit::predecessors() 2024-05-13 07:39:14 -07:00
test_load_repo.rs
test_local_working_copy.rs backend: add error variant for access denied, handle when diffing 2024-05-30 18:27:38 -07:00
test_local_working_copy_concurrent.rs
test_local_working_copy_sparse.rs
test_merge_trees.rs tree_builder: propagate errors from write_tree() 2024-05-22 06:46:38 -07:00
test_merged_tree.rs conflicts: consider the empty tree a non-legacy tree 2024-05-27 06:25:27 -07:00
test_mut_repo.rs repo: consider empty and undescribed merge commits as discardable 2024-05-29 06:54:30 -07:00
test_operations.rs operation: add shorthand for .store_operation().metadata 2024-02-25 09:00:56 +09:00
test_refs.rs jj git push: safety checks in push negotiation, "force-with-lease" 2024-05-28 21:38:26 -07:00
test_revset.rs revset_graph: rename to graph and make generic over graph node type 2024-05-31 02:39:34 +08:00
test_rewrite.rs repo: when abandoning a working copy that a merge, recreate it 2024-05-29 06:54:30 -07:00
test_rewrite_transform.rs rewrite: add CommitRewriter::record_abandoned_commit() 2024-04-30 20:03:57 -07:00
test_signing.rs
test_ssh_signing.rs sign: Add SSH backend tests 2024-02-20 00:02:08 +00:00
test_view.rs
test_workspace.rs working_copy: add Send supertrait 2024-02-17 15:13:25 +08:00