2 # Stubs for no revision control.
3 package IkiWiki::Plugin::norcs;
10 hook(type => "getsetup", id => "norcs", call => \&getsetup);
11 hook(type => "rcs", id => "rcs_update", call => \&rcs_update);
12 hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit);
13 hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit);
14 hook(type => "rcs", id => "rcs_commit_staged", call => \&rcs_commit_staged);
15 hook(type => "rcs", id => "rcs_add", call => \&rcs_add);
16 hook(type => "rcs", id => "rcs_remove", call => \&rcs_remove);
17 hook(type => "rcs", id => "rcs_rename", call => \&rcs_rename);
18 hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
19 hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
20 hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
23 sub getsetup () { #{{{
26 safe => 0, # rcs plugin
32 sub rcs_update () { #{{{
35 sub rcs_prepedit ($) { #{{{
39 sub rcs_commit ($$$;$$) { #{{{
40 my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
41 return undef # success
44 sub rcs_commit_staged ($$$) { #{{{
45 my ($message, $user, $ipaddr)=@_;
46 return undef # success
49 sub rcs_add ($) { #{{{
52 sub rcs_remove ($) { #{{{
55 sub rcs_rename ($$) { #{{{
58 sub rcs_recentchanges ($) { #{{{
61 sub rcs_diff ($) { #{{{
64 sub rcs_getctime ($) { #{{{
65 error gettext("getctime not implemented");