Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.py @ 35418:0fe5d99804bb
hgweb: update graph function docstring
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 14 Dec 2017 21:30:00 +0800 |
parents | f84b01257e06 |
children | acd8a2454b47 |
comparison
equal
deleted
inserted
replaced
35417:83014fa95435 | 35418:0fe5d99804bb |
---|---|
1174 Show information about the graphical topology of the repository. | 1174 Show information about the graphical topology of the repository. |
1175 | 1175 |
1176 Information rendered by this handler can be used to create visual | 1176 Information rendered by this handler can be used to create visual |
1177 representations of repository topology. | 1177 representations of repository topology. |
1178 | 1178 |
1179 The ``revision`` URL parameter controls the starting changeset. | 1179 The ``revision`` URL parameter controls the starting changeset. If it's |
1180 absent, the default is ``tip``. | |
1180 | 1181 |
1181 The ``revcount`` query string argument can define the number of changesets | 1182 The ``revcount`` query string argument can define the number of changesets |
1182 to show information for. | 1183 to show information for. |
1184 | |
1185 The ``graphtop`` query string argument can specify the starting changeset | |
1186 for producing ``jsdata`` variable that is used for rendering graph in | |
1187 JavaScript. By default it has the same value as ``revision``. | |
1183 | 1188 |
1184 This handler will render the ``graph`` template. | 1189 This handler will render the ``graph`` template. |
1185 """ | 1190 """ |
1186 | 1191 |
1187 if 'node' in req.form: | 1192 if 'node' in req.form: |