Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use Punchcard extension of Mercurial

📅 2014-Apr-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ extension, github, mercurial, punchcard ⬩ 📚 Archive

Punchcard of a Mercurial repository

One of the coolest feature of Github is the calendar chart that is shows for your contributions. You can get a similar chart for any Mercurial repository on your computer using the Punchcard extension.

$ hg clone https://bitbucket.org/birkenfeld/hgpunchcard
[extensions]
hgpunchcard = /path/to/hgpunchcard.py
$ hg punchcard

This saves a file named punchcard.png that a chart of your commits to this repository, as shown above.

Tried with: Mercurial 2.8.2 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧