# HG changeset patch # User Anton Shestakov # Date 1513258200 -28800 # Node ID 0fe5d99804bb66b3d066278f5e1c4740f9c695ab # Parent 83014fa95435e4c3c24da45d80f5b3c616cd0dea hgweb: update graph function docstring diff -r 83014fa95435 -r 0fe5d99804bb mercurial/hgweb/webcommands.py --- 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. """