# HG changeset patch # User Alexis S. L. Carvalho # Date 1145471974 25200 # Node ID c067ee483d2e4e962bc9f718a5119625aac0f2c8 # Parent 5cc414722587dff18c149bb12827f2e3805525b6 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. diff -r 5cc414722587 -r c067ee483d2e templates/filerevision-raw.tmpl --- 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# diff -r 5cc414722587 -r c067ee483d2e templates/map-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