jj/lib/tests
Martin von Zweigbergk 04f11c0dc3 rebase: update bookkeeping for branches as we rebase descendants
The `DescendantRebaser` keeps a map of branches from the source
commit, so it gets efficient lookup of branches to update when a
commit has been rebased. This map was not kept up to date as we
rebased. That could lead to branches getting left on hidden
intermediate commits. Specifically, if a commit with a branch was
rewritten by some command, and an ancestor of it was also rewritten,
then we'd only update the branch only the first step and not update it
again when rebasing onto the rewritten ancestor.
2022-04-25 14:05:27 -07:00
..
test_bad_locking.rs repo: when merging in removed head, rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_commit_builder.rs transaction: check that we haven't forgotten to rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_commit_concurrent.rs repo: when merging in removed head, rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_conflicts.rs backend: pass in path when reading/writing conflicts as well 2022-03-31 10:23:33 -07:00
test_diff_summary.rs tests: don't create workspaces in diff-summary tests 2022-02-05 15:31:09 -08:00
test_git.rs tests: don't create workspaces in git tests 2022-02-05 13:45:41 -08:00
test_index.rs repo: clarify that some repo functions load the repo at head (#111) 2022-03-26 22:31:49 -07:00
test_init.rs cleanup: replace .tree().id() by tree_id() to avoid looking up trees 2022-04-21 21:54:52 -07:00
test_load_repo.rs repo: when merging in removed head, rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_merge_trees.rs trees: when merging trees and one is missing, treat it as empty 2022-04-20 13:47:03 -07:00
test_mut_repo.rs cleanup: replace .tree().id() by tree_id() to avoid looking up trees 2022-04-21 21:54:52 -07:00
test_operations.rs repo: when merging in removed head, rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_refs.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00
test_revset_graph_iterator.rs tests: don't create workspaces in RevsetGraphIterator tests 2022-02-05 15:30:27 -08:00
test_revset.rs revset: add a roots() function 2022-04-13 23:24:51 -07:00
test_rewrite.rs rebase: update bookkeeping for branches as we rebase descendants 2022-04-25 14:05:27 -07:00
test_view.rs repo: when merging in removed head, rebase descendants (#111) 2022-03-26 22:31:49 -07:00
test_working_copy_concurrent.rs working_copy: let caller pass in base Git ignores (#65, #87) 2022-03-12 10:48:06 -08:00
test_working_copy.rs cleanup: replace .tree().id() by tree_id() to avoid looking up trees 2022-04-21 21:54:52 -07:00
test_workspace.rs workspace: canonicalize workspace and repo paths internally 2022-03-30 22:09:55 -07:00