📅 2014-Apr-14 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ activity, extension, mercurial, punchcard ⬩ 📚 Archive
The Punchcard extension of Mercurial can be used to obtain a calendar chart of your contributions to a repository, as shown in here. If you need to view the classic line graph of activities in a Mercurial repository, then the Activity extension is a great solution.
$ sudo apt-get purge python-matplotlib python-matplotlib-data $ sudo pip install --upgrade matplotlib
$ hg clone http://sources.freehackers.org/Hgactivity/
hgrcto use this extension:
$ hg activity --mode=gui
You can view commits, branches, tags and users. Activities across different files and directories can be viewed by choosing options in the GUI.
$ hg activity --mode=file
[alias] gact = activity --mode=gui
After this, you can use the alias instead of the more verbose form:
$ hg gact
Tried with: Mercurial 2.8.2, Matplotlib 1.5.0 and Ubuntu 14.04