Differences between revisions 6 and 7
Revision 6 as of 2008-12-08 22:24:14
Size: 1177
Editor: BrendanCully
Comment:
Revision 7 as of 2009-01-22 21:29:22
Size: 1179
Comment: Updated hook examples to use distributed module location
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
hgcia=/path/to/hgcia.py hgext.hgcia =
Line 39: Line 39:
changegroup.cia = python:hgcia.hook
#incoming.cia = python:hgcia.hook
changegroup.cia = python:hgext.hgcia.hook
#incoming.cia = python:hgext.hgcia.hook

HGCIA Extension

This extension is distributed with Mercurial.

Author: Brendan Cully

Download site: http://hg.kublai.com/mercurial/hgcia

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]
hgext.hgcia =

[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:hgext.hgcia.hook
#incoming.cia = python:hgext.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)