ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk a6ef792ba6 repo: initialize without checkouts, let Workspace add it (#13)
As part of creating a new repository, we create an open commit on top
of the root and set that as the current checkout. Now that we have
support for multiple checkouts in the model, we also have support for
zero checkouts, which means we don't need to create that commit on top
of the root when creating the repo. We can therefore move out of
`ReadonlyRepo`'s initialization code and let `Workspace` instead take
care of it. A user-visible effect of this change is that we now create
one operation for initilizing the repo and another one for checking
out the root commit. That seems fine, and will be consistent with the
additional operation we will create when adding further workspaces.
2022-02-02 11:09:12 -08:00
..
test_bad_locking.rs tests: avoid depending on .jj/ structure in test_bad_locking (#13) 2022-01-28 22:28:32 -08:00
test_commit_builder.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_commit_concurrent.rs repo: initialize without checkouts, let Workspace add it (#13) 2022-02-02 11:09:12 -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 repo: initialize without checkouts, let Workspace add it (#13) 2022-02-02 11:09:12 -08:00
test_index.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_init.rs workspace: store repo in .jj/repo/ (#13) 2022-02-02 08:15:22 -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: respect workspace ID for old checkout (#13) 2022-02-02 08:15:22 -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 syntax for a particular workspace's checkout (#13) 2022-02-02 10:05:31 -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 rewrite: update all checkouts, not just the default workspace's (#13) 2022-02-02 08:15:22 -08:00
test_view.rs view: merge checkouts for all workspaces, not just the default one (#13) 2022-02-02 08:15:22 -08:00
test_working_copy.rs working_copy: keep track of operation ID (#13) 2022-01-19 19:15:29 -08:00
test_working_copy_concurrent.rs working_copy: keep track of operation ID (#13) 2022-01-19 19:15:29 -08:00
test_workspace.rs workspace: move search for .jj/ directory from Repo to Workspace 2021-11-25 21:08:43 -08:00