This extension is not distributed with Mercurial.
Author: Justin Lebar
This extension lets Mercurial generate diffs according to (an approximation of) Bram Cohen's patience diff algorithm.
Configure your .hgrc to enable the extension by adding following lines:
[extensions] patience = /path/to/patience.py