author Dirkjan Ochtman <>
Fri, 06 Feb 2009 16:57:23 +0100
changeset 56 cd5ef08c3002c4f71f3ae6da79813fd80d2f4c7f
parent 11 d0a8c7314fff51cc69e69f61cbd26c33754a4b7c
permissions -rw-r--r--
Refactor pushlogFeed() so that it's a normal webcommand. Makes compatibility easier and makes sure various values are available that are no longer available to protocol commands in newer hg.

This is a mercurial extension. It exists to allow hgweb to produce JSON
output describing revisions. Advanced clients can be built on this output,
see the www/ directory for an example.

This extension works in conjunction with the hg_record_changeset_info hook,
to provide a feed of the repository push log. The push log records when
pushes were made to a repository, what the head revision was at the time, and
who performed the push.

To install these extensions for use in apache, place the following .hgrc
file in the apache home directory (/var/www/.hgrc on FC8):

hgwebjson = /path/to/
pushlog-feed = /path/to/