# HG changeset patch # User Martin Geisler # Date 1242247318 -7200 # Node ID a3c8b41fcc9ddd296d0ef7db0d612212b1d450dd # Parent 890a85b6722880015f3b03e2255602b0b20acf26 gitweb: break long lines in map file diff -r 890a85b67228 -r a3c8b41fcc9d templates/gitweb/map --- a/templates/gitweb/map Wed May 13 22:41:36 2009 +0200 +++ b/templates/gitweb/map Wed May 13 22:41:58 2009 +0200 @@ -12,55 +12,233 @@ navgraphentry = '{label|escape} ' filenaventry = '{label|escape} ' filedifflink = '#file|escape# ' -filenodelink = '#file|escape#file | annotate | diff | revisions' -filenolink = '#file|escape#file | annotate | diff | revisions' +filenodelink = ' + + #file|escape# + + + file | + annotate | + diff | + revisions + + ' +filenolink = ' + + #file|escape# + + + file | + annotate | + diff | + revisions + + ' fileellipses = '...' changelogentry = changelogentry.tmpl searchentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl -direntry = 'drwxr-xr-x#basename|escape# #emptydirs|escape#files' -fileentry = '#permissions|permissions##date|isodate##size##basename|escape#file | revisions | annotate' +direntry = ' + + drwxr-xr-x + + + + #basename|escape# + #emptydirs|escape# + + + files + + ' +fileentry = ' + + #permissions|permissions# + #date|isodate# + #size# + + #basename|escape# + + + file | + revisions | + annotate + + ' filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl filediff = filediff.tmpl filelog = filelog.tmpl fileline = '
#linenumber# #line|escape#
' -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#' +changelogparent = ' + + parent #rev#: + + #node|short# + + ' changesetbranch = 'branch{name}' -changesetparent = 'parent {rev}{node|short}' +changesetparent = ' + + parent {rev} + + {node|short} + + ' filerevbranch = 'branch{name}' -filerevparent = 'parent {rev}{rename%filerename}{node|short}' +filerevparent = ' + + parent {rev} + + + {rename%filerename}{node|short} + + + ' filerename = '{file|escape}@' filelogrename = '| base' -fileannotateparent = 'parent {rev}{rename%filerename}{node|short}' -changelogchild = 'child #rev#:#node|short#' -changesetchild = 'child {rev}{node|short}' -filerevchild = 'child {rev}{node|short}' -fileannotatechild = 'child {rev}{node|short}' +fileannotateparent = ' + + parent {rev} + + + {rename%filerename}{node|short} + + + ' +changelogchild = ' + + child #rev#: + #node|short# + ' +changesetchild = ' + + child {rev} + + {node|short} + + ' +filerevchild = ' + + child {rev} + + {node|short} + ' +fileannotatechild = ' + + child {rev} + + {node|short} + ' tags = tags.tmpl -tagentry = '#date|age# ago#tag|escape#changeset | changelog | files' +tagentry = ' + + #date|age# ago + #tag|escape# + + changeset | + changelog | + files + + ' branches = branches.tmpl -branchentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | files' +branchentry = ' + + {date|age} ago + {node|short} + {branch|escape} + + changeset | + changelog | + files + + ' diffblock = '
#lines#
' -filediffparent = 'parent {rev}{node|short}' -filelogparent = 'parent #rev#: #node|short#' -filediffchild = 'child {rev}{node|short}' -filelogchild = 'child #rev#: #node|short#' +filediffparent = ' + + parent {rev} + + + {node|short} + + + ' +filelogparent = ' + + parent #rev#:  + #node|short# + ' +filediffchild = ' + + child {rev} + + {node|short} + + ' +filelogchild = ' + + child #rev#:  + #node|short# + ' shortlog = shortlog.tmpl graph = graph.tmpl tagtag = '{name} ' branchtag = '{name} ' inbranchtag = '{name} ' -shortlogentry = '#date|age# ago#author|person##desc|strip|firstline|escape|nonempty# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}changeset | files' -filelogentry = '#date|age# ago#desc|strip|firstline|escape|nonempty#file | diff | annotate #rename%filelogrename#' +shortlogentry = ' + + #date|age# ago + #author|person# + + + #desc|strip|firstline|escape|nonempty# + {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} + + + + changeset | + files + + ' +filelogentry = ' + + #date|age# ago + + + #desc|strip|firstline|escape|nonempty# + + + + file | diff | annotate #rename%filelogrename# + ' archiveentry = ' | #type|escape# ' -indexentry = '{name|escape}{description}{contact|obfuscate}{lastchange|age} ago{archives%indexarchiveentry}\n' +indexentry = ' + + + + {name|escape} + + + {description} + {contact|obfuscate} + {lastchange|age} ago + {archives%indexarchiveentry} + + \n' indexarchiveentry = ' {type|escape} ' index = index.tmpl urlparameter = '#separator##name#=#value|urlescape#' diff -r 890a85b67228 -r a3c8b41fcc9d tests/test-hgweb-commands.out Binary file tests/test-hgweb-commands.out has changed