From: Joey Hess <joey@kodama.kitenet.net>
Date: Sat, 26 Jul 2008 22:31:27 +0000 (-0400)
Subject: tla done too
X-Git-Tag: 2.60~190
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/56b9b85e3332fbb920fb74b4dd30574fce6dc469?ds=inline;hp=--cc

tla done too
---

56b9b85e3332fbb920fb74b4dd30574fce6dc469
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");