Merge commit 'schmonz/master' into cvs
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 4 Sep 2009 21:16:28 +0000 (17:16 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 4 Sep 2009 21:16:28 +0000 (17:16 -0400)
Conflicts:
IkiWiki/Plugin/cvs.pm

1  2 
IkiWiki/Plugin/cvs.pm

index 9f91c933508b0f6fe725704dafa21a967064af7c,8409bebedb4cd4bb26b4119c674a673ec38a5886..2c2445f399068ac43824c2b1b8291982b68e60a0
@@@ -241,17 -219,15 +219,17 @@@ sub rcs_add ($) 
                        # file
                        my $filemime = File::MimeInfo::default($file);
                        if (defined($filemime) && $filemime eq 'text/plain') {
-                               cvs_runcvs(['add', $file]) ||
+                               cvs_runcvs('add', $file) ||
                                        warn("cvs add $file failed\n");
 -                      } else {
 +                      }
 +                      else {
-                               cvs_runcvs(['add', '-kb', $file]) ||
+                               cvs_runcvs('add', '-kb', $file) ||
                                        warn("cvs add binary $file failed\n");
                        }
 -              } else {
 +              }
 +              else {
                        # directory
-                       cvs_runcvs(['add', $file]) ||
+                       cvs_runcvs('add', $file) ||
                                warn("cvs add $file failed\n");
                }
        }