hgweb: add raw manifest template
authorBrendan Cully <brendan@kublai.com>
Tue, 19 Dec 2006 17:03:34 -0800
changeset 3941 472d9670e6e9
parent 3940 a33ddd20105c
child 3942 8eccfce0ab5e
hgweb: add raw manifest template
templates/raw/manifest.tmpl
templates/raw/map
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/raw/manifest.tmpl	Tue Dec 19 17:03:34 2006 -0800
@@ -0,0 +1,3 @@
+{header}
+{dentries%manifestdirentry}{fentries%manifestfileentry}
+{footer}
--- a/templates/raw/map	Fri Dec 15 10:32:57 2006 +0300
+++ b/templates/raw/map	Tue Dec 19 17:03:34 2006 -0800
@@ -14,3 +14,6 @@
 filediff = filediff.tmpl
 fileannotate = fileannotate.tmpl
 annotateline = '#author#@#rev#: #line#'
+manifest = manifest.tmpl
+manifestdirentry = 'drwxr-xr-x {basename}\n'
+manifestfileentry = '{permissions|permissions} {size} {basename}\n'