Mercurial

mercurial screenshot

Displays information about local mercurial repositories: branch, changed files, and recent commits.

Branch

The name of the currently-active mercurial branch.

Changed Files

A list of all the files that have changed since the last commit, and their status.

Recent Commits

A list of n recent commits, who committed it, and when.

Source Code

wtf/mercurial/

Keyboard Commands

Key: /
Action: Open/close the widget’s help window.

Key: h
Action: Show the previous mercurial repository.

Key: l
Action: Show the next mercurial repository.

Key:
Action: Show the previous mercurial repository.

Key:
Action: Show the next mercurial repository.

Configuration

mercurial:
  commitCount: 5
  commitFormat: "[forestgreen]{rev}:{phase} [white]{desc|firstline|strip} [grey]{author|person} {date|age}[white]"
  enabled: true
  position:
    top: 0
    left: 3
    height: 2
    width: 2
  refreshInterval: 8
  repositories:
  - "/Users/user/fakelib"
  - "/Users/user/fakeapp"

Attributes

commitCount
The number of past commits to display.
Values: A positive integer, 0..n.

commitFormat
Optional The string format for the commit message.

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

position
Defines where in the grid this module’s widget will be displayed.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

repositories
Defines which mercurial repositories to watch.
Values: A list of zero or more local file paths pointing to valid mercurial repositories.