This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Hook and extension to spellcheck Mercurial commit messages

Project Description

=== Overview ===

Using hg log -k you can filter the log and search for keywords. This can be made difficult or impossible if there are lots of spelling mistakes in commit messages.

To check all commits for spelling mistakes, and interactively edit them when they occur, use the hgspellcheck extension.

Use the included hook to prevent the addition of changesets that have spelling errors in their commit messages.

=== Configuration ===

To check all commits for spelling mistakes, and interactively edit them when they occur, add the extension to the “extensions” section of your .hgrc.

{{{

[extensions] hgspellcheck=

}}}

To reject all inbound commits that have spelling mistakes, add the hook on “pretxnchangegroup”.

{{{

[hooks] # Reject all inbound changesets with spelling errors in their commit # messages pretxnchangegroup = python:hgspellcheck.hook

# Refuse to create changesets in the local repository if their commit # messages contain spelling errors; this works for any commands that # create changesets (e.g. commit, qnew, qrecord) pretxncommit = python:hgspellcheck.hook

}}}

== Links ==

Release History

Release History

This version
History Node

1.0rc2

History Node

1.0rc1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hgspellcheck-1.0rc2-py2.6.egg (4.8 kB) Copy SHA256 Checksum SHA256 2.6 Egg Mar 22, 2010
hgspellcheck-1.0rc2.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Mar 22, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting