#pragma section-numbers 2 = Hotfiles extension = This extension gives a list of the files the most susceptible to contains issues in the repository based on their history. <> == Status == '''This extension is not distributed with Mercurial.''' ''Author: '' ''BenoitAllard'' Repository: https://bitbucket.org/benallard/hotfiles Web page: ''https://bitbucket.org/benallard/hotfiles/overview'' == 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. == Configuration == Configure your .hgrc to enable the extension by adding following lines: {{{ [extensions] hotfiles = /path/to/hotfiles.py }}} 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: {{{ [hotfiles] pattern = issue\d+ }}} == See also == [[http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html|Original blog post from the Google Engineering team]] ---- CategoryExtensionsByOthers