##// END OF EJS Templates
webcommands: document "graph" web command
Gregory Szorc -
r24097:8e04a73b default
parent child Browse files
Show More
@@ -1159,6 +1159,22 b' def static(web, req, tmpl):'
1159
1159
1160 @webcommand('graph')
1160 @webcommand('graph')
1161 def graph(web, req, tmpl):
1161 def graph(web, req, tmpl):
1162 """
1163 /graph[/{revision}]
1164 -------------------
1165
1166 Show information about the graphical topology of the repository.
1167
1168 Information rendered by this handler can be used to create visual
1169 representations of repository topology.
1170
1171 The ``revision`` URL parameter controls the starting changeset.
1172
1173 The ``revcount`` query string argument can define the number of changesets
1174 to show information for.
1175
1176 This handler will render the ``graph`` template.
1177 """
1162
1178
1163 ctx = webutil.changectx(web.repo, req)
1179 ctx = webutil.changectx(web.repo, req)
1164 rev = ctx.rev()
1180 rev = ctx.rev()
General Comments 0
You need to be logged in to leave comments. Login now