diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-01-26 16:55:13 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-01-26 16:55:13 -0500 |
commit | 9fd09149a36e13addcb822e41d0309c64a004764 (patch) | |
tree | 6abc9bad237ac748d6afcf3f55c2c53f04f46153 | |
parent | 722953ac25a55949e974a454280e5f60c68fc33b (diff) | |
download | ikiwiki-9fd09149a36e13addcb822e41d0309c64a004764.tar ikiwiki-9fd09149a36e13addcb822e41d0309c64a004764.tar.gz |
Mollify strictures about barewords.
-rw-r--r-- | IkiWiki/Plugin/cvs.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/IkiWiki/Plugin/cvs.pm b/IkiWiki/Plugin/cvs.pm index 97a568c0e..dafaf13f5 100644 --- a/IkiWiki/Plugin/cvs.pm +++ b/IkiWiki/Plugin/cvs.pm @@ -140,7 +140,7 @@ EOF # VCS PLUGIN API CALLS sub rcs_update () { - return unless cvs_is_controlling; + return unless cvs_is_controlling(); cvs_runcvs('update', '-dP'); } @@ -151,7 +151,7 @@ sub rcs_prepedit ($) { # The file is relative to the srcdir. my $file=shift; - return unless cvs_is_controlling; + return unless cvs_is_controlling(); # For cvs, return the revision of the file when # editing begins. @@ -165,7 +165,7 @@ sub rcs_commit (@) { # The file is relative to the srcdir. my %params=@_; - return unless cvs_is_controlling; + return unless cvs_is_controlling(); # Check to see if the page has been changed by someone # else since rcs_prepedit was called. @@ -241,7 +241,7 @@ sub rcs_remove ($) { # filename is relative to the root of the srcdir my $file=shift; - return unless cvs_is_controlling; + return unless cvs_is_controlling(); cvs_runcvs('rm', '-f', $file) || warn("cvs rm $file failed\n"); @@ -251,7 +251,7 @@ sub rcs_rename ($$) { # filenames relative to the root of the srcdir my ($src, $dest)=@_; - return unless cvs_is_controlling; + return unless cvs_is_controlling(); local $CWD = $config{srcdir}; @@ -267,7 +267,7 @@ sub rcs_recentchanges ($) { my $num = shift; my @ret; - return unless cvs_is_controlling; + return unless cvs_is_controlling(); eval q{use Date::Parse}; error($@) if $@; |