NAME
SVN::Web::Diff - SVN::Web action to show differences between file revisions
SYNOPSIS
In config.yaml
actions:
...
- diff
...
diff_class: SVN::Web::Diff
DESCRIPTION
Returns the difference between two revisions of the same file.
OPTIONS
- rev1
-
The first revision of the file to compare.
- rev2
-
The second revision of the file to compare.
- mime
-
The desired output format. The default is
html
for an HTML, styled diff using Text::Diff::HTML. The other allowed value istext
, for a plain text unified diff. - context
-
The number of lines of context to show around each change. Uses the global default if not set.
TEMPLATE VARIABLES
None. If mime
is html
then raw HTML is returned for immediate insertion in to the template. If mime
is text
then the template is bypassed and plain text is returned.