Hotfiles extension

This extension gives a list of the files the most susceptible to contains issues in the repository based on their history.

1. Status

This extension is not distributed with Mercurial.

Author: BenoitAllard


Web page:

2. Overview

This extension adds a command hotfiles that displays the ten files the most likely candidates to contain issues. This calculation is done regarding the history of the files, and summing the time they have been modified in a bug-fixing commit in the past time.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

hotfiles = /path/to/

If your commit mesages includes an indication that they are related to an issue, you can limit the calculation on those commits by introducing the following configuration item:

pattern = issue\d+

4. See also

Original blog post from the Google Engineering team


HotFilesExtension (last edited 2012-04-24 22:00:05 by ks3095497)