equal
deleted
inserted
replaced
492 the virtual file system presented by the manifest command below.""" |
492 the virtual file system presented by the manifest command below.""" |
493 return path |
493 return path |
494 |
494 |
495 @webcommand('manifest') |
495 @webcommand('manifest') |
496 def manifest(web, req, tmpl): |
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 ctx = webutil.changectx(web.repo, req) |
512 ctx = webutil.changectx(web.repo, req) |
498 path = webutil.cleanpath(web.repo, req.form.get('file', [''])[0]) |
513 path = webutil.cleanpath(web.repo, req.form.get('file', [''])[0]) |
499 mf = ctx.manifest() |
514 mf = ctx.manifest() |
500 node = ctx.node() |
515 node = ctx.node() |
501 |
516 |