jj/lib/tests
Martin von Zweigbergk f6c24fbcef git: return refs that failed to export in sorted order
Before this patch, the order would depend on the reason we failed to
export a ref, because we would add to the `failed_branches` list in
several different places. What's worse, when the export failed because
the branch was conflicted or had an invalid name (from Git's
perspective), it was non-deterministic because we iterated over a
HashSet. This patch fixes that by sorting at the end.

Note that we still want the `branches_to_update` map to be a
`BTreeMap` so we update branches in deterministic order. Otherwise the
error when trying to export both branches `main` and `main/sub` will
become non-deterministic.
2023-09-04 20:08:11 -07:00
..
test_bad_locking.rs
test_commit_builder.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_commit_concurrent.rs
test_conflicts.rs merge: add Merge::num_sides() 2023-08-25 08:54:49 -07:00
test_default_revset_graph_iterator.rs
test_diff_summary.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_git.rs git: return refs that failed to export in sorted order 2023-09-04 20:08:11 -07:00
test_id_prefix.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_index.rs
test_init.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_load_repo.rs
test_merge_trees.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_merged_tree.rs merged_tree: allow building trees with variable-arity overrides 2023-09-01 06:09:37 -07:00
test_mut_repo.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_operations.rs
test_refs.rs
test_revset.rs revset: add 0-ary "::" and ".." operators as short for "all()" and "~root()" 2023-09-05 10:40:04 +09:00
test_rewrite.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_view.rs
test_working_copy.rs working_copy: in LockedWorkingCopy::drop(), discard unsaved changes 2023-09-01 12:25:47 -07:00
test_working_copy_concurrent.rs working_copy: in LockedWorkingCopy::drop(), discard unsaved changes 2023-09-01 12:25:47 -07:00
test_working_copy_sparse.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_workspace.rs