Differences between revisions 3 and 4
Revision 3 as of 2009-07-02 21:57:41
Size: 671
Editor: abuehl
Comment: fix title
Revision 4 as of 2009-11-15 11:45:13
Size: 671
Editor: GeorgBrandl
Comment: fix extension name
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
hgchangelog = /path/to/hgchangelog.py hgcodesmell = /path/to/hgcodesmell.py

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 language.

Configuration

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

[extensions]
hgcodesmell = /path/to/hgcodesmell.py


CategoryExtensionsByOthers

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