changeset 3941:472d9670e6e9

hgweb: add raw manifest template
author Brendan Cully <brendan@kublai.com>
date Tue, 19 Dec 2006 17:03:34 -0800
parents a33ddd20105c
children 8eccfce0ab5e
files templates/raw/manifest.tmpl templates/raw/map
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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'