Mercurial Jabber notification extension

This is in fact an in-process hook for notifying developers of the project about server activity by using the Jabber (XMPP) messaging protocol.

1. Status

This extension is not distributed with Mercurial.

Author: Kamyar Inanloo

Project home:


2. Overview

This is a tiny Python package working as a Mercurial in-process hook. It works using xmpppy package for sending messages to developers (Jabber users) when one pushes/commits/... the project. You must install xmpppy as a requirement:

pip install xmpppy


easy_install xmpppy

Then extract the extension to Python package folder (e.g. site-packages)

3. Configuration

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

changegroup = python:hgxmpp.hook

userid =
password = mercurialpassword
MyProject =,

The last line tells the extension to send notification to user1 and user2 when the repository MyProject changes.


HgJabberExtension (last edited 2012-12-17 01:40:58 by rcl)