jj/lib
Matt Stark a4aed2391f Rewrite instead of abandoning empty commits.
Fixes #2760


Given the tree:
```
A-B-C
 \
  B2
```
And the command `jj rebase -s B -d B2`

We were previously marking B as abandoned, despite the comment stating that we were marking it as being succeeded by B2. This resulted in a call to `rewrite(rewrites={}, abandoned={B})` instead of `rewrite(rewrites={B=>B2}, abandoned={})`, which then made the new parent of `C` into `A` instead of `B2`
2024-01-04 13:33:24 +11:00
..
benches cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
gen-protos Use { workspace = true } to appease VS Code's Cargo.toml parser 2023-08-22 21:38:53 -07:00
src Rewrite instead of abandoning empty commits. 2024-01-04 13:33:24 +11:00
tests Rewrite instead of abandoning empty commits. 2024-01-04 13:33:24 +11:00
testutils test_rewrite.rs: stop using DescendantRebaser when testing EmptyBehavior 2024-01-01 18:51:36 -08:00
Cargo.toml lock: remove byteorder dependency from tests, use fs helper functions 2023-12-23 00:14:17 +09:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00