Differences between revisions 7 and 8
Revision 7 as of 2010-08-29 15:02:52
Size: 943
Editor: GeorgBrandl
Comment: move to bitbucket
Revision 8 as of 2011-04-02 00:23:22
Size: 934
Editor: GregWard
Comment: standard link terminology
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download/clone site: http://bitbucket.org/birkenfeld/hgchangelog Repository: http://bitbucket.org/birkenfeld/hgchangelog

Changelog Extension

This extension is not distributed with Mercurial.

Author: Georg Brandl

Repository: http://bitbucket.org/birkenfeld/hgchangelog

Overview

This simple extension wraps the commit command to look if there is a change in the project's changelog. If there is, it is used as the default for the commit message.

Note that it is a quick hack -- I'm happy with any suggestion or bug report...

Configuration

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

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

Now set the name of your changelog file (replace "CHANGES" by the name of your changelog):

[changelog]
filename = CHANGES

Note that it usually usually makes more sense to put this setting in the repository-specific .hg/hgrc file rather than the global ~/.hgrc file.


CategoryExtensionsByOthers

ChangelogExtension (last edited 2022-01-09 06:25:26 by DanKurtz)