]> sipb.mit.edu Git - ikiwiki.git/blob - IkiWiki/Plugin/norcs.pm
websetup form display done
[ikiwiki.git] / IkiWiki / Plugin / norcs.pm
1 #!/usr/bin/perl
2 # Stubs for no revision control.
3 package IkiWiki::Plugin::norcs;
4
5 use warnings;
6 use strict;
7 use IkiWiki;
8
9 sub import { #{{{
10         hook(type => "rcs", id => "rcs_update", call => \&rcs_update);
11         hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit);
12         hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit);
13         hook(type => "rcs", id => "rcs_commit_staged", call => \&rcs_commit_staged);
14         hook(type => "rcs", id => "rcs_add", call => \&rcs_add);
15         hook(type => "rcs", id => "rcs_remove", call => \&rcs_remove);
16         hook(type => "rcs", id => "rcs_rename", call => \&rcs_rename);
17         hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
18         hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
19         hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
20 } #}}}
21
22 sub rcs_update () { #{{{
23 } #}}}
24
25 sub rcs_prepedit ($) { #{{{
26         return ""
27 } #}}}
28
29 sub rcs_commit ($$$;$$) { #{{{
30         my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
31         return undef # success
32 } #}}}
33
34 sub rcs_commit_staged ($$$) { #{{{
35         my ($message, $user, $ipaddr)=@_;
36         return undef # success
37 } #}}}
38
39 sub rcs_add ($) { #{{{
40 } #}}}
41
42 sub rcs_remove ($) { #{{{
43 } #}}}
44
45 sub rcs_rename ($$) { #{{{
46 } #}}}
47
48 sub rcs_recentchanges ($) { #{{{
49 } #}}}
50
51 sub rcs_diff ($) { #{{{
52 } #}}}
53
54 sub rcs_getctime ($) { #{{{
55         error gettext("getctime not implemented");
56 } #}}}
57
58 1