jj/lib/tests
Martin von Zweigbergk 03ae1b747c repo_path: remove FileRepoPath in favor of just RepoPath
I had initially hoped that the type-safety provided by the separate
`FileRepoPath` and `DirRepoPath` types would help prevent bugs. I'm
not sure if it has prevented any bugs so far. It has turned out that
there are more cases than I had hoped where it's unknown whether a
path is for a directory or a file. One such example is for the path of
a conflict. Since it can be conflict between a directory and a file,
it doesn't make sense to use either. Instead we end up with quite a
bit of conversion between the types. I feel like they are not worth
the extra complexity. This patch therefore starts simplifying it by
replacing uses of `FileRepoPath` by `RepoPath`. `DirRepoPath` is a
little more complicated because its string form ends with a '/'. I'll
address that in separate patches.
2021-05-19 15:11:04 -07:00
..
test_bad_locking.rs RepoLoader: stop returning Result since the functions cannot currently fail 2021-05-19 14:12:54 -07:00
test_commit_builder.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_commit_concurrent.rs RepoLoader: stop returning Result since the functions cannot currently fail 2021-05-19 14:12:54 -07:00
test_diff_summary.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_evolution.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_git.rs cli: on init, give a proper error message instead crashing when repo exists 2021-05-19 14:53:37 -07:00
test_index.rs RepoLoader: stop returning Result since the functions cannot currently fail 2021-05-19 14:12:54 -07:00
test_init.rs cli: on init, give a proper error message instead crashing when repo exists 2021-05-19 14:53:37 -07:00
test_load_repo.rs RepoLoader: stop returning Result since the functions cannot currently fail 2021-05-19 14:12:54 -07:00
test_merge_trees.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_mut_repo.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_operations.rs RepoLoader: stop returning Result since the functions cannot currently fail 2021-05-19 14:12:54 -07:00
test_revset.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
test_revset_graph_iterator.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
test_view.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
test_working_copy.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00
test_working_copy_concurrent.rs repo_path: remove FileRepoPath in favor of just RepoPath 2021-05-19 15:11:04 -07:00