##// END OF EJS Templates
webcommands: document "changelog" web command
Gregory Szorc -
r24089:f1777343 default
parent child Browse files
Show More
@@ -319,6 +319,29 b' def _search(web, req, tmpl):'
319
319
320 @webcommand('changelog')
320 @webcommand('changelog')
321 def changelog(web, req, tmpl, shortlog=False):
321 def changelog(web, req, tmpl, shortlog=False):
322 """
323 /changelog[/{revision}]
324 -----------------------
325
326 Show information about multiple changesets.
327
328 If the optional ``revision`` URL argument is absent, information about
329 all changesets starting at ``tip`` will be rendered. If the ``revision``
330 argument is present, changesets will be shown starting from the specified
331 revision.
332
333 If ``revision`` is absent, the ``rev`` query string argument may be
334 defined. This will perform a search for changesets.
335
336 The argument for ``rev`` can be a single revision, a revision set,
337 or a literal keyword to search for in changeset data (equivalent to
338 :hg:`log -k`.
339
340 The ``revcount`` query string argument defines the maximum numbers of
341 changesets to render.
342
343 For non-searches, the ``changelog`` template will be rendered.
344 """
322
345
323 query = ''
346 query = ''
324 if 'node' in req.form:
347 if 'node' in req.form:
General Comments 0
You need to be logged in to leave comments. Login now