summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-26 18:31:27 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-26 18:31:27 -0400
commit56b9b85e3332fbb920fb74b4dd30574fce6dc469 (patch)
treec5b26a5306beedc9a11b3210e9ea8387facdb938
parent2bbe1bf9af4ba20f28a17d5e16a467313d2e37bd (diff)
tla done too
-rw-r--r--IkiWiki/Rcs/tla.pm20
1 files changed, 20 insertions, 0 deletions
diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm
index 4232e1fe8..549e9f52d 100644
--- a/IkiWiki/Rcs/tla.pm
+++ b/IkiWiki/Rcs/tla.pm
@@ -6,6 +6,26 @@ use warnings;
use strict;
use IkiWiki;
+hook(type => "getsetup", id => "tla", call => sub { #{{{
+ return
+ historyurl => {
+ type => "string",
+ default => "",
+ #example => "", # TODO example
+ description => "url to show file history ([[file]] substituted)",
+ safe => 1,
+ rebuild => 1,
+ },
+ diffurl => {
+ type => "string",
+ default => "",
+ #example => "", # TODO example
+ description => "url to show a diff ([[file]] and [[rev]] substituted)",
+ safe => 1,
+ rebuild => 1,
+ },
+}); #}}}
+
sub quiet_system (@) {
# See Debian bug #385939.
open (SAVEOUT, ">&STDOUT");