]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/svn.pm
qouting
[ikiwiki.git] / IkiWiki / Rcs / svn.pm
index 597295d44c44220a7a66999767d961d854e5cfec..87fd12fad3044f135723ce89622d9d6e3556f3c4 100644 (file)
@@ -95,7 +95,7 @@ sub rcs_commit ($$$;$$) { #{{{
                if (system("svn", "commit", "--quiet", 
                           "--encoding", "UTF-8", "-m",
                           possibly_foolish_untaint($message),
-                          "$config{srcdir}") != 0) {
+                          $config{srcdir}) != 0) {
                        my $conflict=readfile("$config{srcdir}/$file");
                        if (system("svn", "revert", "--quiet", "$config{srcdir}/$file") != 0) {
                                warn("svn revert failed\n");
@@ -131,7 +131,6 @@ sub rcs_recentchanges ($) { #{{{
 
        eval q{
                use Date::Parse;
-               use Time::Duration;
                use XML::SAX;
                use XML::Simple;
        };
@@ -204,7 +203,7 @@ sub rcs_recentchanges ($) { #{{{
 
 sub rcs_notify () { #{{{
        if (! exists $ENV{REV}) {
-               error("REV is not set, not running from svn post-commit hook, cannot send notifications");
+               error(gettext("REV is not set, not running from svn post-commit hook, cannot send notifications"));
        }
        my $rev=int(possibly_foolish_untaint($ENV{REV}));