Fix filerevision-raw.tmpl
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 19 Apr 2006 11:39:34 -0700
changeset 2094 c067ee483d2e
parent 2093 5cc414722587
child 2095 0bf2a9e5eff1
Fix filerevision-raw.tmpl Two bugs: - conteXt-type instead of conteNt-type - trailing newline The easiest way to fix the second one (and keep it fixed) is to put everything inline in map-raw.
templates/filerevision-raw.tmpl
templates/map-raw
--- a/templates/filerevision-raw.tmpl	Wed Apr 19 11:29:41 2006 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-Context-type: #mimetype#
-Content-disposition: filename=#file#
-
-#raw#
--- a/templates/map-raw	Wed Apr 19 11:29:41 2006 -0700
+++ b/templates/map-raw	Wed Apr 19 11:39:34 2006 -0700
@@ -8,7 +8,7 @@
 changesetparent = '# parent: #node#'
 changesetchild = '# child: #node#'
 filenodelink = ''
-filerevision = filerevision-raw.tmpl
+filerevision = 'Content-Type: #mimetype#\nContent-Disposition: filename=#file#\n\n#raw#'
 fileline = '#line#'
 diffblock = '#lines#'
 filediff = filediff-raw.tmpl