How to show repository log as ASCII graph in Mercurial

TortoiseHg can be used to view the graph of commits and branches of a Mercurial repository. For repositories whose history is not so complicated, it may be convenient to check its graph at the commandline. This means displaying a ASCII graph of the log.

This feature is available through the graphlog extension that ships with Mercurial. Enable this extension in your Mercurial configuration file and you can view the graph by using the command:

$ hg log --graph

Tried with: Mercurial 2.0.2 and Ubuntu 12.04.1 LTS

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s