jj/lib/tests
Martin von Zweigbergk 4a03b94d65 git: on export, skip failed refs instead of failing whole export
Since we now write a (partial) view object of the exported branches to
disk (since 7904474320), we can safely skip exporting some
branches. We already skip conflicted branches. This commit makes us
also skip branches that we fail to write to the backing Git repo,
instead of failing the whole operation (after possibly updating some
Git refs).

I made the `export_refs()` function return the branches that
failed. We should probably make that a struct later and have a
separate field for branches that we skipped due to conflicts.

Closes #493.
2022-11-26 06:05:29 -10:00
..
test_bad_locking.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_commit_builder.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_commit_concurrent.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_conflicts.rs backend: rename NormalFile to just File 2022-11-14 23:36:43 -08:00
test_diff_summary.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_git.rs git: on export, skip failed refs instead of failing whole export 2022-11-26 06:05:29 -10:00
test_index.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_init.rs cleanup: remove a few unnecessary borrows, as reported by Clippy 2022-11-26 06:05:29 -10:00
test_load_repo.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_merge_trees.rs backend: rename NormalFile to just File 2022-11-14 23:36:43 -08:00
test_mut_repo.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_operations.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_refs.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_revset.rs revset: allow empty string literal "" 2022-11-20 13:11:28 +09:00
test_revset_graph_iterator.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_rewrite.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_view.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_working_copy.rs cleanup: remove a few unnecessary borrows, as reported by Clippy 2022-11-26 06:05:29 -10:00
test_working_copy_concurrent.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_working_copy_sparse.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_workspace.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00