ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
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
..
protos working_copy: stop keeping track of commit ID 2022-02-12 17:22:37 -08:00
src rebase: update bookkeeping for branches as we rebase descendants 2022-04-25 14:05:27 -07:00
tests rebase: update bookkeeping for branches as we rebase descendants 2022-04-25 14:05:27 -07:00
build.rs build: conditionally use map_first_last feature if available 2022-02-20 22:21:14 -08:00
Cargo.toml cargo: upgrade uuid to 1.0.0 2022-04-20 14:18:59 -07:00