2006-03-26 04:30:44 +02:00
|
|
|
#!/usr/bin/perl
|
2006-03-23 07:51:15 +01:00
|
|
|
# Stubs for no revision control.
|
2008-07-27 04:27:58 +02:00
|
|
|
package IkiWiki::Plugin::norcs;
|
2008-07-11 12:07:48 +02:00
|
|
|
|
2006-03-23 07:51:15 +01:00
|
|
|
use warnings;
|
|
|
|
use strict;
|
2006-05-02 08:53:33 +02:00
|
|
|
use IkiWiki;
|
2006-03-23 07:51:15 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub import { #{{{
|
|
|
|
hook(type => "rcs", id => "rcs_update", call => \&rcs_update);
|
|
|
|
hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit);
|
|
|
|
hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit);
|
|
|
|
hook(type => "rcs", id => "rcs_commit_staged", call => \&rcs_commit_staged);
|
|
|
|
hook(type => "rcs", id => "rcs_add", call => \&rcs_add);
|
|
|
|
hook(type => "rcs", id => "rcs_remove", call => \&rcs_remove);
|
|
|
|
hook(type => "rcs", id => "rcs_rename", call => \&rcs_rename);
|
|
|
|
hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
|
|
|
|
hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
|
|
|
|
hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
|
|
|
|
} #}}}
|
|
|
|
|
|
|
|
sub rcs_update () { #{{{
|
|
|
|
} #}}}
|
|
|
|
|
|
|
|
sub rcs_prepedit ($) { #{{{
|
2006-03-23 07:51:15 +01:00
|
|
|
return ""
|
2008-07-27 04:27:58 +02:00
|
|
|
} #}}}
|
2006-03-23 07:51:15 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_commit ($$$;$$) { #{{{
|
2008-07-22 22:14:33 +02:00
|
|
|
my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
|
|
|
|
return undef # success
|
2008-07-27 04:27:58 +02:00
|
|
|
} #}}}
|
2008-07-22 22:14:33 +02:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_commit_staged ($$$) { #{{{
|
2008-07-22 22:14:33 +02:00
|
|
|
my ($message, $user, $ipaddr)=@_;
|
2006-03-23 07:51:15 +01:00
|
|
|
return undef # success
|
2008-07-27 04:27:58 +02:00
|
|
|
} #}}}
|
2006-03-23 07:51:15 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_add ($) { #{{{
|
|
|
|
} #}}}
|
2006-03-23 07:51:15 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_remove ($) { #{{{
|
|
|
|
} #}}}
|
2008-07-22 22:14:33 +02:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_rename ($$) { #{{{
|
|
|
|
} #}}}
|
2008-07-21 19:40:06 +02:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_recentchanges ($) { #{{{
|
|
|
|
} #}}}
|
2006-03-23 07:51:15 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_diff ($) { #{{{
|
|
|
|
} #}}}
|
2008-03-03 21:53:34 +01:00
|
|
|
|
2008-07-27 04:27:58 +02:00
|
|
|
sub rcs_getctime ($) { #{{{
|
2006-12-29 05:38:40 +01:00
|
|
|
error gettext("getctime not implemented");
|
2008-07-27 04:27:58 +02:00
|
|
|
} #}}}
|
2006-03-26 04:30:44 +02:00
|
|
|
|
2006-03-23 07:51:15 +01:00
|
|
|
1
|