Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2009-07-02 15:59:45
Size: 684
Editor: GeorgBrandl
Comment:
Revision 6 as of 2010-12-12 21:45:55
Size: 688
Editor: ÉricAraujo
Comment: Minor wording fix
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Codesmell Extension ==
Line 13: Line 13:
At the moment, this only recognizes debugging stuff that often leaks into commits in the Python language. At the moment, this only recognizes debugging stuff that often leaks into commits in the Python project.
Line 20: Line 20:
hgchangelog = /path/to/hgchangelog.py hgcodesmell = /path/to/hgcodesmell.py
Line 24: Line 24:
CategoryExtension CategoryExtensionsByOthers CategoryExtensionsByOthers CategoryExtension

Codesmell Extension

This extension is not distributed with Mercurial.

Author: Georg Brandl

Download site: 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


CategoryExtensionsByOthers CategoryExtension

CodesmellExtension (last edited 2012-11-04 02:27:49 by mpm)