Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2008-11-25 18:48:18
Size: 747
Editor: GeorgBrandl
Comment: add page for hgchangelog
Revision 6 as of 2010-02-16 08:16:26
Size: 941
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Changelog Extension ==
Line 7: Line 7:
Download site: http://hg.pocoo.org/hgchangelog (needs a current snapshot of Mercurial) Download site: http://hg.pocoo.org/hgchangelog (needs hg 1.1+)
Line 17: Line 17:
Configure your .hgrc to enable the extension by adding following lines (replace "CHANGES" by the name of your changelog): Configure your .hgrc to enable the extension by adding following lines:
Line 22: Line 22:
}}}
Line 23: Line 24:
Now set the name of your changelog file (replace "CHANGES" by the name of your changelog):
{{{
Line 27: Line 30:
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.
Line 28: Line 34:
CategoryExtension CategoryExtensionsByOthers

Changelog Extension

This extension is not distributed with Mercurial.

Author: Georg Brandl

Download site: http://hg.pocoo.org/hgchangelog (needs hg 1.1+)

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)