hgweb: update graph function docstring
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 14 Dec 2017 21:30:00 +0800
changeset 35411 0fe5d99804bb
parent 35410 83014fa95435
child 35412 b1959391a088
hgweb: update graph function docstring
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.
     """