Size: 1214
Comment: Add template support
|
Size: 1181
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
Download site: [http://hg.kublai.com/mercurial/hgcia public development repository]. | Download site: http://hg.kublai.com/mercurial/hgcia |
HGCIA Extension
This extension is not 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] 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