• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 46176095099
92%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2026 06:30PM UTC
Jobs 1
Files 82
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Nov 2026 06:28PM UTC coverage: 92.15% (+0.06%) from 92.089%
46176095099

push

github

web-flow
fix(diff): resolve jj A...B ranges to a single merge base (#467)

in a jj repo, `revdiff main...feature` failed to load whenever the two sides shared more than one commit, which is almost every real repo. For that range revdiff passed jj `--from 'ancestors(l) & ancestors(r) & ~root()'`. That revset holds every shared commit, so jj refused it with "resolved to more than one revision".

the merge base is now `latest(heads(ancestors(l) & ancestors(r)))`. `heads()` drops the older shared commits, and `latest()` picks one when a criss-cross history leaves two independent merge bases, the same way git picks one of several. Both functions exist well below the documented jj 0.27 floor (`latest()` since 0.8).

the compact-mode line count behind the trailing divider now reads the old side at that merge base too. It used to read the left operand, so the divider count was wrong whenever the left side had changed the file.

tests run real jj over a history with two shared commits and over a criss-cross history; the old revset fails both.

20 of 22 new or added lines in 1 file covered. (90.91%)

12479 of 13542 relevant lines covered (92.15%)

3461.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.62
3.11% app/diff/jj.go
Jobs
ID Job ID Ran Files Coverage
1 46176095099.1 28 Nov 2026 06:30PM UTC 82
92.15
GitHub Action Run
Source Files on build 46176095099
  • Tree
  • List 82
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d7216e52 on github
  • Prev Build on master (#46174276088)
  • Next Build on master (#46176104218)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc