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

umputun / revdiff / 24277848828
90%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2026 07:40AM UTC
Jobs 1
Files 40
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

11 Apr 2026 07:40AM UTC coverage: 88.175% (-0.2%) from 88.4%
24277848828

push

github

web-flow
Add Mercurial VCS support (#90)

* add mercurial VCS support

Detect .hg repos via DetectVCS() and use hg commands for diff,
blame, and file listing. Git repos continue to work unchanged.

- VCS detection walks up directories looking for .git or .hg
- Hg renderer implements Renderer and Blamer interfaces
- Ref translation: HEAD→., HEAD~N→.~N, HEAD^→.^, HEAD^N→pN(.)
- Uses hg status for changed files, hg diff --git for diffs
- Uses hg annotate with template for blame data
- --staged warns when used with hg (no staging area)
- --all-files unsupported for hg repos
- Documentation updated across README, CLAUDE.md, site, plugins

* fix: handle triple-dot refs in revFlag, make test hermetic

- revFlag now handles A...B (triple-dot) refs by translating to
  ancestor(A,B)..B in Mercurial revset syntax
- TestDetectVCS_Git uses a temp dir with .git instead of relying
  on running inside the revdiff checkout

* fix: address umputun review — FallbackRenderer for hg --only, methods convention

- --only in hg repos now uses FallbackRenderer (delegates to Hg renderer
  first, falls back to disk read), matching the git path behaviour
- FallbackRenderer.inner changed from *Git to renderer interface so both
  Git and Hg can be wrapped
- parseStatus and hgStatusToFileStatus converted to methods on *Hg per
  CLAUDE.md convention
- Reverted TestDetectVCS_Git to integration test per reviewer preference

198 of 256 new or added lines in 6 files covered. (77.34%)

1 existing line in 1 file now uncovered.

6234 of 7070 relevant lines covered (88.18%)

371.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
39
48.35
-3.08% app/main.go
12
88.99
app/diff/hg.go
4
92.45
app/diff/hgblame.go
2
88.89
app/diff/vcs.go
1
90.42
0.0% app/diff/fallback.go

Coverage Regressions

Lines Coverage ∆ File
1
48.35
-3.08% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 24277848828.1 11 Apr 2026 07:40AM UTC 40
88.18
GitHub Action Run
Source Files on build 24277848828
  • Tree
  • List 40
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1dd2d788 on github
  • Prev Build on master (#24277753967)
  • Next Build on master (#24287986461)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc