##// END OF EJS Templates
webcommands: document "manifest" web command
Gregory Szorc -
r24090:a86b2922 default
parent child Browse files
Show More
@@ -494,6 +494,21 b' def decodepath(path):'
494 494
495 495 @webcommand('manifest')
496 496 def manifest(web, req, tmpl):
497 """
498 /manifest[/{revision}[/{path}]]
499 -------------------------------
500
501 Show information about a directory.
502
503 If the URL path arguments are defined, information about the root
504 directory for the ``tip`` changeset will be shown.
505
506 Because this handler can only show information for directories, it
507 is recommended to use the ``file`` handler instead, as it can handle both
508 directories and files.
509
510 The ``manifest`` template will be rendered for this handler.
511 """
497 512 ctx = webutil.changectx(web.repo, req)
498 513 path = webutil.cleanpath(web.repo, req.form.get('file', [''])[0])
499 514 mf = ctx.manifest()
General Comments 0
You need to be logged in to leave comments. Login now