Differences between revisions 3 and 4
Revision 3 as of 2007-03-02 04:43:29
Size: 1121
Editor: BrendanCully
Comment: Add module option
Revision 4 as of 2007-03-02 22:37:09
Size: 1214
Editor: BrendanCully
Comment: Add template support
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
# Use a custom template (optional)
#template = {url}/rev/{node|short}\n{desc}-- {diffstat}

HGCIA Extension

This extension is not distributed with Mercurial.

Author: Brendan Cully

Download site: [http://hg.kublai.com/mercurial/hgcia public development repository].

Overview

The hgcia extension can be used to send change notifications to the [http://cia.navi.cx/ CIA service]. It can be used as either an incoming or a changegroup hook.

Configuration

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

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

[cia]
# your registered CIA user name
user = foo
# the name of the project in CIA
project = foo
# the module or subproject (optional)
#module = foo
# Append a diffstat to the log message (optional)
#diffstat = False
# Use a custom template (optional)
#template = {url}/rev/{node|short}\n{desc}-- {diffstat}
# The URL of the CIA notification service (optional)
#url = http://cia.navi.cx/
# print message instead of sending it (optional)
#test = False

[hooks]
# one of these:
changegroup.cia = python:hgcia.hook
#incoming.cia = python:hgcia.hook

[web]
# If you want hyperlinks (optional)
#baseurl = http://server/path/to/repo


CategoryExtension

HgciaExtension (last edited 2017-03-19 17:59:57 by JunWu)