Scroll to navigation

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

The number of log entries to retrieve. The default is 20.
The repository revision to start with. The default is the repository's youngest revision.

TEMPLATE VARIABLES

Either "directory" or "file".
A boolean value, true if the log starts with the most recent revision.
A boolean value, true if the list of revisions ("revs") includes the oldest revision for this path.
A boolean value, true if the given path is a directory.
The repository revision that the log starts with.
A list of hashes. Each entry corresponds to a particular repository revision, and has the following keys.
The repository revision this entry is for.
The repository's youngest revision.
The author of this change.
The date of this change, formatted according to "Time and date formatting" in SVN::Web.
The log message for this change.
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.
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".
If the file was copied from another file then this is the path of the source of the copy.
If the file was copied from another file then this is the revision of the file that it was copied from.
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.

See <http://www.perl.com/perl/misc/Artistic.html>

2022-06-14 perl v5.34.0