##// END OF EJS Templates
webcommands: document "log" web command
Gregory Szorc -
r24087:6f5b4393 default
parent child Browse files
Show More
@@ -44,6 +44,21 b' class webcommand(object):'
44
44
45 @webcommand('log')
45 @webcommand('log')
46 def log(web, req, tmpl):
46 def log(web, req, tmpl):
47 """
48 /log[/{revision}[/{path}]]
49 --------------------------
50
51 Show repository or file history.
52
53 For URLs of the form ``/log/{revision}``, a list of changesets starting at
54 the specified changeset identifier is shown. If ``{revision}`` is not
55 defined, the default is ``tip``. This form is equivalent to the
56 ``changelog`` handler.
57
58 For URLs of the form ``/log/{revision}/{file}``, the history for a specific
59 file will be shown. This form is equivalent to the ``filelog`` handler.
60 """
61
47 if 'file' in req.form and req.form['file'][0]:
62 if 'file' in req.form and req.form['file'][0]:
48 return filelog(web, req, tmpl)
63 return filelog(web, req, tmpl)
49 else:
64 else:
General Comments 0
You need to be logged in to leave comments. Login now