table of contents
SVN::Web::Log(3pm) | User Contributed Perl Documentation | SVN::Web::Log(3pm) |
NAME¶
SVN::Web::Log - SVN::Web action to show log messages for a repository path
SYNOPSIS¶
In config.yaml
actions: ... log: class: SVN::Web::Log action_menu: show: - file - directory link_text: (view revision log) ...
DESCRIPTION¶
Shows log messages (in reverse order) for interesting revisions of a given file or directory in the repository.
OPTIONS¶
TEMPLATE VARIABLES¶
- context
- Either "directory" or "file".
- at_head
- A boolean value, true if the log starts with the most recent revision.
- at_oldest
- A boolean value, true if the list of revisions ("revs") includes the oldest revision for this path.
- isdir
- A boolean value, true if the given path is a directory.
- rev
- The repository revision that the log starts with.
- revs
- A list of hashes. Each entry corresponds to a particular repository revision, and has the following keys.
- rev
- The repository revision this entry is for.
- youngest_rev
- The repository's youngest revision.
- The author of this change.
- date
- The date of this change, formatted according to "Time and date formatting" in SVN::Web.
- msg
- The log message for this change.
- paths
- A list of hashes containing information about the paths that were changed with this commit. Each hash key is the path name that was modified with this commit. Each key is a hash ref of extra information about the change to this path. These hash refs have the following keys.
- action
- A single letter indicating the action that was carried out on the path. A file was either added "A", modified "M", replaced "R", or deleted "D".
- copyfrom
- If the file was copied from another file then this is the path of the source of the copy.
- copyfromrev
- If the file was copied from another file then this is the revision of the file that it was copied from.
- limit
- The value of the "limit" parameter.
EXCEPTIONS¶
None.
COPYRIGHT¶
Copyright 2003-2004 by Chia-liang Kao "<clkao@clkao.org>".
Copyright 2005-2007 by Nik Clayton "<nik@FreeBSD.org>".
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2022-06-14 | perl v5.34.0 |