Differences between revisions 17 and 18
Revision 17 as of 2020-04-10 22:16:17
Size: 1796
Editor: orzel
Comment:
Revision 18 as of 2021-08-18 12:54:41
Size: 1794
Editor: orzel
Comment:
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:

Activity extension

Try to show how much activity happened on the repository over time.

1. Status

This extension is not distributed with Mercurial.

Author: Thomas Capricelli

Repository: http://sources.freehackers.org/Hgactivity/

Web page: http://labs.freehackers.org/projects/hgactivity/wiki

2. Overview

This extension creates an image file displaying the activity of a repository. The activity is a rough estimates to answer the question : "when did the developement happened ?"

As an example, here is the activity for the mercurial repository itself :

activity-hg-general.png

The same, but split by author:

activity-hg-byauthors.png

Zoom in on recent history + displaying tags::

activity-hg-recentandtags.png

The extension can be used on desktop (displaying the image) or on server (headless, creating the image file).

There are quite some options to change the display, setting the date range, exluding some revs and such. You can of course use the usual --help approach, but you can also play with the gui : when you change options, the corresponding CLI command is displayed for your convenience. The typical use is to configure what you want on your desktop using the mouse, and then copy/paste the command line on your server cron or whatever.

All of this is explained on the web page: http://labs.freehackers.org/projects/hgactivity/wiki

3. Configuration

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

[extensions]
activity=/path/to/hgactivity/activity

(with the actual path to the extension, of course)


CategoryExtensionsByOthers

ActivityExtension (last edited 2023-03-31 13:17:46 by orzel)