User-centric log output

1. Status

This extension is not distributed with Mercurial.

Author: Facebook, Inc.

This extension is slated to be integrated into core Mercurial.


Web page:

2. Overview

hg smartlog displays the graph of commits that are relevant to you, and highlights your current commit in purple.



3. Configuration

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

smartlog =

4. Upstreaming

Contains interesting code and ideas that may be useful elsewhere in Mercurial proper too.

Moving the ellipsis link concept into core first would help us avoid including our own graph sorting node. Currently the extension contains their own sorting and dag filtering code.

The codebase is not yet Python 3 compatible (use of cmp in sorting).

4.1. Future directions

Facebook impact: medium; it is in active use within Facebook.


SmartlogExtension (last edited 2016-02-01 15:17:22 by MartijnPieters)