Mercurial > hg-stable
changeset 35418:0fe5d99804bb
hgweb: update graph function docstring
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 14 Dec 2017 21:30:00 +0800 |
parents | 83014fa95435 |
children | b1959391a088 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Dec 12 22:05:21 2017 -0800 +++ b/mercurial/hgweb/webcommands.py Thu Dec 14 21:30:00 2017 +0800 @@ -1176,11 +1176,16 @@ Information rendered by this handler can be used to create visual representations of repository topology. - The ``revision`` URL parameter controls the starting changeset. + The ``revision`` URL parameter controls the starting changeset. If it's + absent, the default is ``tip``. The ``revcount`` query string argument can define the number of changesets to show information for. + The ``graphtop`` query string argument can specify the starting changeset + for producing ``jsdata`` variable that is used for rendering graph in + JavaScript. By default it has the same value as ``revision``. + This handler will render the ``graph`` template. """