ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
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
..
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
nightly_shims.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 rebase: update bookkeeping for branches as we rebase descendants 2022-04-25 14:05:27 -07:00
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