SVN::Web::Log(3pm)
β¨ NAME β¨
SVN::Web::Log β the SVN::Web action that shows you the log messages for a path in your repo π
It's a User Contributed Perl Documentation page, bestie, and it's here to spill the whole tea on how logging works.
πΈ SYNOPSIS πΈ
You set it up in config.yaml, like so:
actions:
...
log:
class: SVN::Web::Log
action_menu:
show:
- file
- directory
link_text: (view revision log)
...
π¦ DESCRIPTION π¦
So basically? It shows you the log messages β in reverse order β for the interesting revisions of a given file or directory in the repository. That's it. That's the whole vibe. π
π OPTIONS π
limitβ how many log entries you wanna fetch. Default is20. Twenty. Not too much, not too little, immaculate number tbh.revβ the repository revision you wanna start from. Default is the repository's youngest revision, i.e. it starts at the freshest one. periodt.
π TEMPLATE VARIABLES π
These are the lil' variables the template gets to play with:
contextβ either"directory"or"file". Pick your fighter.at_headβ a boolean, true if the log starts with the most recent revision. head empty, no thoughts, just newest rev.at_oldestβ a boolean, true if the list of revisions (revs) includes the oldest revision for this path. we love a full history moment.isdirβ a boolean, 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 these keys:revβ the repository revision this entry is for.youngest_revβ the repository's youngest revision.authorβ the author of this change. the main character fr.dateβ the date of this change, formatted according to "Time and date formatting" inSVN::Web.msgβ the log message for this change.pathsβ a list of hashes containing info about the paths that got 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 info 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". one letter, so much drama.copyfromβ if the file was copied from another file, this is the path of the source of the copy.copyfromrevβ if the file was copied from another file, this is the revision of the file that it was copied from.
limitβ the value of thelimitparameter.
π EXCEPTIONS π
None. Zero. Nada. Not a single one. iconic behaviour honestly.
π 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>
okay that's the whole page bestie, no notes π this was perl v5.40.1, dated 2025-04-09, and it's the SVN::Web::Log(3pm) manual β go forth and read those logs, you absolute legend πβ¨
π¦ where this page comes from
- debian trixie: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- ubuntu resolute: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- ubuntu stonking: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms