X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/11872cecfcf40a4f68677a82b0d2db7c8e24dd71..56b9b85e3332fbb920fb74b4dd30574fce6dc469:/IkiWiki/Rcs/bzr.pm diff --git a/IkiWiki/Rcs/bzr.pm b/IkiWiki/Rcs/bzr.pm index c80356159..30fa4482e 100644 --- a/IkiWiki/Rcs/bzr.pm +++ b/IkiWiki/Rcs/bzr.pm @@ -8,6 +8,26 @@ use IkiWiki; use Encode; use open qw{:utf8 :std}; +hook(type => "getsetup", id => "bzr", call => sub { #{{{ + return + historyurl => { + type => "string", + default => "", + #example => "", # FIXME add example + description => "url to show file history, using loggerhead ([[file]] substituted)", + safe => 1, + rebuild => 1, + }, + diffurl => { + type => "string", + default => "", + example => "http://example.com/revision?start_revid=[[r2]]#[[file]]-s", + description => "url to view a diff, using loggerhead ([[file]] and [[r2]] substituted)", + safe => 1, + rebuild => 1, + }, +}); #}}} + sub bzr_log ($) { #{{{ my $out = shift; my @infos = ();