]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
ece919f0923dcd34fdfa5088e6917f5f038c63a9
[git.ikiwiki.info.git] / doc / bugs / bzr_plugin_does_not_define_rcs__95__diff.mdwn
1 The bzr plugin does not seem to define the rcs_diff subroutine.
2 I got the follow error after enabling recentchangesdiff:
4 "Undefined subroutine &IkiWiki::Plugin::bzr::rcs_diff called at /usr/share/perl5/IkiWiki.pm line 1590."
6 Grepping to verify absence of rcs_diff:
8     $ grep rcs_diff /usr/share/perl5/IkiWiki/Plugin/{git,bzr}.pm
9     /usr/share/perl5/IkiWiki/Plugin/git.pm:     hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
10     /usr/share/perl5/IkiWiki/Plugin/git.pm:sub rcs_diff ($) {
11     /usr/share/perl5/IkiWiki/Plugin/bzr.pm:     hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
13 > I've added the minimal stub needed to avoid the crash, but for
14 > recentchangesdiff to work, someone needs to implement `rcs_diff` for bzr.
15 > This should be trivial if you know and use bzr. The function
16 > is passed as a parameter the revno of interest and just needs
17 > to ask bzr for the diff between that and the previous version. --[[Joey]]