jj/cli
Benjamin Tan 4f2e72a140 cli: simplify-parents: avoid multiple rebases of the same commits
The previous iteration of `jj simplify-parents` would only reparent the
commits in the target set in the `MutableRepo::transform_descendants`
callback. The subsequent `MutableRepo::rebase_descendants` call invoked
when the transaction is committed would then rebase all descendants of
the target set, which includes the commits in the target set again.

This commit updates the `MutableRepo::transform_descendants` callback to
perform rebasing of all descendants within the callback. All descendants
of the target set will only be rebased at most once.
2024-11-22 20:23:03 +08:00
..
examples revset: reorganize expression resolution/evaluation methods 2024-11-08 10:34:02 +09:00
src cli: simplify-parents: avoid multiple rebases of the same commits 2024-11-22 20:23:03 +08:00
testing style: inline variables into format strings 2024-10-04 22:29:13 +02:00
tests cli: simplify-parents: avoid multiple rebases of the same commits 2024-11-22 20:23:03 +08:00
build.rs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
Cargo.toml completion: teach config about keys 2024-11-18 13:19:02 +01:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00