equal
deleted
inserted
replaced
1157 staticfile(static, fname, req) |
1157 staticfile(static, fname, req) |
1158 return [] |
1158 return [] |
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() |
1165 |
1181 |
1166 bg_height = 39 |
1182 bg_height = 39 |