]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/svn.pm
git: Fix parsing of git logs with no commit messages at all.
[ikiwiki.git] / IkiWiki / Rcs / svn.pm
index 7bad407475808588654551c52cfd82dd7228ceac..6a822e896cd79951d3d0a4fdc1dd3e4a4e9c3b9e 100644 (file)
@@ -1,12 +1,12 @@
 #!/usr/bin/perl
 
+package IkiWiki::Rcs::svn;
+
 use warnings;
 use strict;
 use IkiWiki;
 use POSIX qw(setlocale LC_CTYPE);
 
-package IkiWiki::Rcs::svn;
-
 sub import { #{{{
        if (exists $IkiWiki::config{svnpath}) {
                # code depends on the path not having extraneous slashes
@@ -219,7 +219,7 @@ sub rcs_recentchanges ($) { #{{{
 
 sub rcs_diff ($) { #{{{
        my $rev=possibly_foolish_untaint(int(shift));
-       return scalar `svnlook diff $config{svnrepo} -r$rev --no-diff-deleted`;
+       return `svnlook diff $config{svnrepo} -r$rev --no-diff-deleted`;
 } #}}}
 
 sub rcs_getctime ($) { #{{{