ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Philip Metzger d9c68e08b1 everything: Rename branches to bookmarks
Jujutsu's branches do not behave like Git branches, which is a major
hurdle for people adopting it from Git. They rather behave like
Mercurial's (hg) bookmarks. 

We've had multiple discussions about it in the last ~1.5 years about this rename in the Discord, 
where multiple people agreed that this _false_ familiarity does not help anyone. Initially we were 
reluctant to do it but overtime, more and more users agreed that `bookmark` was a better for name 
the current mechanism. This may be hard break for current `jj branch` users, but it will immensly 
help Jujutsu's future, by defining it as our first own term. The `[experimental-moving-branches]` 
config option is currently left alone, to force not another large config update for
users, since the last time this happened was when `jj log -T show` was removed, which immediately 
resulted in breaking users and introduced soft deprecations.

This name change will also make it easier to introduce Topics (#3402) as _topological branches_ 
with a easier model. 

This was mostly done via LSP, ripgrep and sed and a whole bunch of manual changes either from
me being lazy or thankfully pointed out by reviewers.
2024-09-11 18:54:45 +02:00
..
runner.rs merged_tree: remove .diff_summary() 2024-08-06 10:15:44 +09:00
test_bad_locking.rs tests: avoid ReadonlyRepo::repo_path() 2024-09-07 12:20:02 -07:00
test_commit_builder.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_commit_concurrent.rs tests: avoid ReadonlyRepo::repo_path() 2024-09-07 12:20:02 -07:00
test_conflicts.rs conflicts: don't panic when a conflict marker is missing removes 2024-09-05 22:09:55 -07:00
test_default_revset_graph_iterator.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_git.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_git_backend.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_gpg.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_id_prefix.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_index.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_init.rs repo: remove repo_path from ReadonlyRepo and RepoLoader 2024-09-07 12:20:02 -07:00
test_load_repo.rs tests: avoid ReadonlyRepo::repo_path() 2024-09-07 12:20:02 -07:00
test_local_working_copy.rs workspace: make workspace_root() and repo_path() return slice &Path 2024-09-08 05:40:52 +09:00
test_local_working_copy_concurrent.rs workspace: make workspace_root() and repo_path() return slice &Path 2024-09-08 05:40:52 +09:00
test_local_working_copy_sparse.rs workspace: make workspace_root() and repo_path() return slice &Path 2024-09-08 05:40:52 +09:00
test_merge_trees.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_merged_tree.rs copies: determine copy/rename operation by CopiesTreeDiffStream 2024-08-23 10:29:12 +09:00
test_mut_repo.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_operations.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_refs.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_revset.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_rewrite.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_rewrite_transform.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_signing.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_ssh_signing.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_view.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
test_workspace.rs workspace: make workspace_root() and repo_path() return slice &Path 2024-09-08 05:40:52 +09:00