]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Automator.pm
Add configuration to restrict the formats allowed for comments
[ikiwiki.git] / IkiWiki / Setup / Automator.pm
index 4022121500e0da267c57de3b7fb34291c0ec35ee..671438710e4444de5dd2f1aacef7183659ccadb1 100644 (file)
@@ -38,7 +38,7 @@ sub sanitize_wikiname ($) {
 
 sub import (@) {
        my $this=shift;
-       $config{setuptype}='Standard';
+       $config{setuptype}='Yaml';
        IkiWiki::Setup::merge({@_});
 
        if (! $config{force_overwrite}) {
@@ -78,6 +78,10 @@ sub import (@) {
                        # TODO
                        print STDERR "warning: do not know how to set up the mercurial_wrapper hook!\n";
                }
+               elsif ($config{rcs} eq 'tla') {
+                       # TODO
+                       print STDERR "warning: do not know how to set up the tla_wrapper hook!\n";
+               }
                elsif ($config{rcs} eq 'cvs') {
                        $config{cvs_wrapper}=$config{repository}."/CVSROOT/post-commit";
                }