NAME
SVN::Web::Log - SVN::Web action to show log messages for a repository path
SYNOPSIS
In config.yaml
actions:...log:class: SVN::Web::Logaction_menu:show:- file- directorylink_text: (view revision log)...
DESCRIPTION
Shows log messages (in reverse order) for interesting revisions of a given file or directory in the repository.
OPTIONS
- limit
-
The number of log entries to retrieve. The default is 20.
- rev
-
The repository revision to start with. The default is the repository's youngest revision.
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.
- author
-
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 "<[email protected]>".
Copyright 2005-2007 by Nik Clayton "<[email protected]>".
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>