Skip to content

Conversation

@dakshj
Copy link

@dakshj dakshj commented Dec 7, 2025

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 #112

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add mercurial support

1 participant