# HG changeset patch # User Martin Geisler # Date 1242247360 -7200 # Node ID 04f9253906bbc20ae71ef19997efed4274b7c450 # Parent 7c28949d1d1e939f54ad0e62beed3f63c3877da3 spartan: break long lines in map file diff -r 7c28949d1d1e -r 04f9253906bb templates/spartan/map --- a/templates/spartan/map Wed May 13 22:42:19 2009 +0200 +++ b/templates/spartan/map Wed May 13 22:42:40 2009 +0200 @@ -19,41 +19,153 @@ searchentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl -direntry = 'drwxr-xr-x   #basename|escape#/ #emptydirs|urlescape#' -fileentry = '#permissions|permissions# #date|isodate# #size# #basename|escape#' + +direntry = ' + + drwxr-xr-x  +   +   + + #basename|escape#/ + + #emptydirs|urlescape# + ' + +fileentry = ' + + #permissions|permissions#  + #date|isodate#  + #size#  + #basename|escape#' + filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl filediff = filediff.tmpl filelog = filelog.tmpl fileline = '
#linenumber##line|escape#
' filelogentry = filelogentry.tmpl -annotateline = '#author|user#@#rev##linenumber#
#line|escape#
' +annotateline = ' + + + #author|user#@#rev# + + + #linenumber# + +
#line|escape#
+ ' difflineplus = '#linenumber##line|escape#' difflineminus = '#linenumber##line|escape#' difflineat = '#linenumber##line|escape#' diffline = '#linenumber##line|escape#' -changelogparent = 'parent #rev#:#node|short#' -changesetparent = 'parent #rev#:#node|short#' -filerevparent = 'parent:{rename%filerename}{node|short}' +changelogparent = ' + + parent #rev#: + + #node|short# + + ' +changesetparent = ' + + parent #rev#: + #node|short# + ' +filerevparent = ' + + parent: + + + {rename%filerename}{node|short} + + + ' filerename = '{file|escape}@' -filelogrename = 'base:#file|escape#@#node|short#' -fileannotateparent = 'parent:{rename%filerename}{node|short}' -changesetchild = 'child #rev#:#node|short#' -changelogchild = 'child #rev#:#node|short#' -filerevchild = 'child:#node|short#' -fileannotatechild = 'child:#node|short#' +filelogrename = ' + + base: + + + #file|escape#@#node|short# + + + ' +fileannotateparent = ' + + parent: + + + {rename%filerename}{node|short} + + + ' +changesetchild = ' + + child #rev#: + #node|short# + ' +changelogchild = ' + + child #rev#: + #node|short# + ' +filerevchild = ' + + child: + #node|short# + ' +fileannotatechild = ' + + child: + #node|short# + ' tags = tags.tmpl -tagentry = '
  • #node# #tag|escape#
  • ' +tagentry = ' +
  • + #node# + #tag|escape# +
  • ' branches = branches.tmpl -branchentry = '
  • #node# #branch|escape#
  • ' +branchentry = ' +
  • + #node# + #branch|escape# +
  • ' diffblock = '
    #lines#
    ' changelogtag = 'tag:#tag|escape#' changesettag = 'tag:#tag|escape#' -filediffparent = 'parent #rev#:#node|short#' -filelogparent = 'parent #rev#:#node|short#' -filediffchild = 'child #rev#:#node|short#' -filelogchild = 'child #rev#:#node|short#' -indexentry = '#name|escape##description##contact|obfuscate##lastchange|age# agoRSS Atom #archives%archiveentry#' +filediffparent = ' + + parent #rev#: + #node|short# + ' +filelogparent = ' + + parent #rev#: + #node|short# + ' +filediffchild = ' + + child #rev#: + #node|short# + ' +filelogchild = ' + + child #rev#: + #node|short# + ' +indexentry = ' + + #name|escape# + #description# + #contact|obfuscate# + #lastchange|age# ago + + RSS + Atom + #archives%archiveentry# + + ' index = index.tmpl archiveentry = '#type|escape# ' notfound = notfound.tmpl diff -r 7c28949d1d1e -r 04f9253906bb tests/test-hgweb-filelog.out --- a/tests/test-hgweb-filelog.out Wed May 13 22:42:19 2009 +0200 +++ b/tests/test-hgweb-filelog.out Wed May 13 22:42:40 2009 +0200 @@ -535,7 +535,15 @@ (annotate) - base:b@1e88685f5dde + + +base: + + +b@1e88685f5dde + + + author: test