Mercurial directive¶
Note
supports Python 2.7 only
Options¶
The repository directive takes these options.
number_of_revisions: positive integer
Set the number of revision to show commit history. Default is 10.
revision: revision string
Set revision string to show particular commit history.
with_ref_url:
Set as a flag to show commit URL on repository hosting service. It supports github and bitbucket.
include_diff:
Set as a flag to show diff text with commit history. The diff text is hidden with initial state. Clicking around commit message shows the diff text.
Top commit history¶
.. mercurial::
:number_of_revisions: 20
:with_ref_url:
:include_diff:
Particular commit log¶
.. mercurial::
:revision: 33:g87922kd38d8
:with_ref_url:
:include_diff: