fix(jjfetch): prevent rebase on identical merged revisions and update version #11

Merged
eric merged 1 commit from push-ovvntmxorxuu into main 2026-11-08 12:29:05 +01:00
Owner

Update kit/VERSION to 0.1.11 and refine jjfetch logic to detect when a local revision has been merged into the base with identical content, preventing unnecessary rebases. Add test coverage for divergent merge scenarios in tests/jjfetch.sh.

  • Update kit/VERSION from 0.1.10 to 0.1.11
  • Modify kit/scripts/jjfetch.sh to check for divergent revisions by comparing local revisions against a twin in $base
  • Abandon local revisions that have already been merged into $base, even if the change ID is the same but content differs
  • Stop processing for revisions found to be merged, reporting an error instead of rebasing
  • Update README.md to clarify that make jjfetch should stop if content is identical to the merged version
  • Clarify make kit-check in README.md to indicate it compares content, not just version
  • Add divergent_world function to tests/jjfetch.sh to simulate PR merge scenarios
  • Add merge_pr_on_remote function to tests/jjfetch.sh for handling PR merges
  • Update test logic to handle cases where PR was merged after local rewrite
  • Add checks in tests to verify output messages and local history state after divergence
Update `kit/VERSION` to 0.1.11 and refine `jjfetch` logic to detect when a local revision has been merged into the base with identical content, preventing unnecessary rebases. Add test coverage for divergent merge scenarios in `tests/jjfetch.sh`. - Update `kit/VERSION` from 0.1.10 to 0.1.11 - Modify `kit/scripts/jjfetch.sh` to check for divergent revisions by comparing local revisions against a twin in `$base` - Abandon local revisions that have already been merged into `$base`, even if the change ID is the same but content differs - Stop processing for revisions found to be merged, reporting an error instead of rebasing - Update `README.md` to clarify that `make jjfetch` should stop if content is identical to the merged version - Clarify `make kit-check` in `README.md` to indicate it compares content, not just version - Add `divergent_world` function to `tests/jjfetch.sh` to simulate PR merge scenarios - Add `merge_pr_on_remote` function to `tests/jjfetch.sh` for handling PR merges - Update test logic to handle cases where PR was merged after local rewrite - Add checks in tests to verify output messages and local history state after divergence
fix(jjfetch): prevent rebase on identical merged revisions and update version
All checks were successful
Release / release (push) Successful in 16s
bd177ab2ce
Update `kit/VERSION` to 0.1.11 and refine `jjfetch` logic to detect when a local revision has been merged into the base with identical content, preventing unnecessary rebases. Add test coverage for divergent merge scenarios in `tests/jjfetch.sh`.

- Update `kit/VERSION` from 0.1.10 to 0.1.11
- Modify `kit/scripts/jjfetch.sh` to check for divergent revisions by comparing local revisions against a twin in `$base`
- Abandon local revisions that have already been merged into `$base`, even if the change ID is the same but content differs
- Stop processing for revisions found to be merged, reporting an error instead of rebasing
- Update `README.md` to clarify that `make jjfetch` should stop if content is identical to the merged version
- Clarify `make kit-check` in `README.md` to indicate it compares content, not just version
- Add `divergent_world` function to `tests/jjfetch.sh` to simulate PR merge scenarios
- Add `merge_pr_on_remote` function to `tests/jjfetch.sh` for handling PR merges
- Update test logic to handle cases where PR was merged after local rewrite
- Add checks in tests to verify output messages and local history state after divergence
eric merged commit 008594a04a into main 2026-11-08 12:29:05 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
LLM/crate-kit!11
No description provided.