feat: Add Mercurial / hg support widgets#120
Open
dakshj wants to merge 1 commit intosirmalloc:mainfrom
Open
Conversation
Adds two new widgets for Mercurial users: - `hg-changes`: Shows line changes (+insertions, -deletions) from `hg diff --stat` - `hg-branch`: Shows current bookmark or commit description first line Both widgets use standard Mercurial `hg` commands. Also fixes ESM compatibility issue with `__dirname` in terminal.ts. Closes sirmalloc#112
zoonderkins
added a commit
to zoonderkins/ccstatusline
that referenced
this pull request
Jan 21, 2026
Merged PRs: - sirmalloc#138: fix: support bare repo worktrees in GitWorktree widget - sirmalloc#135: feat: add git-indicators widget - sirmalloc#132: fix: Windows terminal width detection - sirmalloc#131: feat: Task Timer widget - sirmalloc#123: feat: Add backups for settings.json - sirmalloc#121: feat: Add configurable context warning alerts - sirmalloc#120: feat: Add Mercurial support - sirmalloc#119: feat: Add Git Root Dir widget - sirmalloc#58: feat: Add support for local/project settings Fixes Issues: - sirmalloc#117: Windows tput cols creates null file - sirmalloc#122: claude's settings.json deleted/lost - sirmalloc#112: Add mercurial support Additional fixes: - Resolved circular dependency in renderer.ts/widgets.ts - Fixed lint errors in multiple files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two new widgets for Mercurial users:
hg-changes: Shows line changes (+insertions, -deletions) fromhg diff --stathg-branch: Shows current bookmark or commit description first lineBoth widgets use standard Mercurial
hgcommands.Also fixes ESM compatibility issue with
__dirnamein terminal.ts.Closes #112