mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 09:11:55 +00:00
0098edd3d2
This patch teaches the `View` object to keep track of the checkout in each workspace. It serializes that information into the `OpStore`. For compatibility with existing repos, the existing field for a single workspace's checkout is interpreted as being for the workspace called "default". This is just an early step towards support for multiple workspaces. Remaining things to do: * Record the workspace ID somewhere in `.jj/` (maybe in `.jj/working_copy/`) * Update existing code to use the workspace ID instead of assuming it's always "default" as we do after this patch * Add a way of indicating in `.jj/` that the repo lives elsewhere and make it possible to load a repo from such workspaces * Add a command for creating additional workspaces * Show each workspace's checkout in log output |
||
---|---|---|
.. | ||
backend.rs | ||
commit.rs | ||
commit_builder.rs | ||
conflicts.rs | ||
dag_walk.rs | ||
diff.rs | ||
file_util.rs | ||
files.rs | ||
git.rs | ||
git_backend.rs | ||
gitignore.rs | ||
index.rs | ||
index_store.rs | ||
lib.rs | ||
local_backend.rs | ||
lock.rs | ||
matchers.rs | ||
op_heads_store.rs | ||
op_store.rs | ||
operation.rs | ||
protos.rs | ||
refs.rs | ||
repo.rs | ||
repo_path.rs | ||
revset.pest | ||
revset.rs | ||
revset_graph_iterator.rs | ||
rewrite.rs | ||
settings.rs | ||
simple_op_store.rs | ||
stacked_table.rs | ||
store.rs | ||
testutils.rs | ||
transaction.rs | ||
tree.rs | ||
tree_builder.rs | ||
view.rs | ||
working_copy.rs | ||
workspace.rs |