Differences between revisions 6 and 7
Revision 6 as of 2010-12-12 21:45:55
Size: 688
Editor: ÉricAraujo
Comment: Minor wording fix
Revision 7 as of 2012-02-15 19:27:00
Size: 685
Editor: ks3095497
Comment: Download location is a repository.
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download site: http://bitbucket.org/birkenfeld/hgcodesmell Repository: http://bitbucket.org/birkenfeld/hgcodesmell

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


CategoryExtensionsByOthers CategoryExtension

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