# 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 --git a/templates/filerevision-raw.tmpl b/templates/filerevision-raw.tmpl deleted file mode 100644 --- a/templates/filerevision-raw.tmpl +++ /dev/null @@ -1,4 +0,0 @@ -Context-type: #mimetype# -Content-disposition: filename=#file# - -#raw# diff --git a/templates/map-raw b/templates/map-raw --- a/templates/map-raw +++ b/templates/map-raw @@ -8,7 +8,7 @@ diffline = '#line#' 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