The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SVN::Web::Log - SVN::Web action to show log messages for a repository path

SYNOPSIS

In config.yaml

  actions:
    ...
    - log
    ...

  log_class: SVN::Web::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

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.

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, 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 maximum number of log entries that were retrieved. This is not necessarily the same as the total number of log entries that were retrieved.

EXCEPTIONS

None.