]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Rcs/svn.pm
web commit by intrigeri: thanks + note about git collaborative work
[git.ikiwiki.info.git] / IkiWiki / Rcs / svn.pm
index f7d2242f043209cd9ca7291d3af6186c0407990e..ea193e08f33418ab7be3f91819fade367dda7092 100644 (file)
@@ -217,6 +217,11 @@ sub rcs_recentchanges ($) { #{{{
        return @ret;
 } #}}}
 
+sub rcs_diff ($) { #{{{
+       my $rev=possibly_foolish_untaint(int(shift));
+       return `svnlook diff $config{svnrepo} -r$rev --no-diff-deleted`;
+} #}}}
+
 sub rcs_getctime ($) { #{{{
        my $file=shift;