Size: 685
Comment: Download location is a repository.
|
← Revision 8 as of 2012-11-04 02:27:49 ⇥
Size: 667
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 24: | Line 24: |
CategoryExtensionsByOthers CategoryExtension | CategoryExtensionsByOthers |
Codesmell Extension
This extension is not distributed with Mercurial.
Author: Georg Brandl
Repository: http://bitbucket.org/birkenfeld/hgcodesmell
Overview
This extension wraps the commit command to look for "smelly" changes in added code and explicitly asks the user before he can continue if such a change is found.
At the moment, this only recognizes debugging stuff that often leaks into commits in the Python project.
Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] hgcodesmell = /path/to/hgcodesmell.py