jj/lib/tests
Martin von Zweigbergk 6952b4f91e rewrite: create new checkout on top iff commit abandoned
When rebasing commits after rewrites, we also update all workspaces'
checkouts. If the new commit is closed, we create a new commit on
top. Since we're hoping to remove the open/closed concept, we need a
new condition. I considered creating a new commit on top if the change
ID was different from before the rewrite. However, that would make at
least `jj split` more complicated because it makes the first commit
keep the change ID but it wants the second commit to be checked
out. This patch instead creates the new commit on top only when the
original commit was abandoned.
2022-07-01 08:58:08 +08:00
..
test_bad_locking.rs
test_commit_builder.rs CommitBuilder: when rewriting commit, replace placeholder user/email 2022-06-06 17:31:01 -07:00
test_commit_concurrent.rs
test_conflicts.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_diff_summary.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_git.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_index.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_init.rs
test_load_repo.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_merge_trees.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_mut_repo.rs repo: split out an edit() function from MutableRepo::check_out() 2022-07-01 08:58:08 +08:00
test_operations.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_refs.rs
test_revset.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_revset_graph_iterator.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_rewrite.rs rewrite: create new checkout on top iff commit abandoned 2022-07-01 08:58:08 +08:00
test_view.rs tests: remove &UserSettings argument from TestRepo::init() 2022-05-21 22:33:16 -07:00
test_working_copy.rs cleanup: fix an unused import on Windows 2022-06-29 07:21:24 +08:00
test_working_copy_concurrent.rs working_copy: propagate most errors on checkout 2022-05-25 11:51:18 -07:00
test_working_copy_sparse.rs
test_workspace.rs