##// END OF EJS Templates
hgwebdir: refresh configuration periodically...
hgwebdir: refresh configuration periodically The old default behaviour of hgwebdir was to maintain a list of repositories permanently. This interacted badly with persistent application hosting software such as WSGI containers. If a new repository was published, it would potentially never appear in the top-level list of repositories. This change causes the hgwebdir configuration and list of repositories served to be refreshed periodically (at most every 20 seconds).

File last commit:

r8369:93a811ef default
r8371:1bd0fdf4 default
Show More
map
76 lines | 5.9 KiB | text/plain | TextLexer
Matt Mackall
hgweb: add paper style derived from coal
r6661 default = 'shortlog'
mimetype = 'text/html; charset={encoding}'
header = header.tmpl
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 footer = footer.tmpl
search = search.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 changelog = shortlog.tmpl
shortlog = shortlog.tmpl
shortlogentry = shortlogentry.tmpl
graph = graph.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661
naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Dirkjan Ochtman
templates: fix navigation links for graph entries
r6701 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Matt Mackall
hgweb: add paper style derived from coal
r6661 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
Dirkjan Ochtman
hgweb: remove links to non-existent file versions
r7182 filenolink = '{file|escape} '
Matt Mackall
hgweb: add paper style derived from coal
r6661 fileellipses = '...'
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 changelogentry = shortlogentry.tmpl
searchentry = shortlogentry.tmpl
changeset = changeset.tmpl
manifest = manifest.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a></td><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
Martin Geisler
coal, paper: omit unneeded #l1 anchor in links
r8240 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
Matt Mackall
hgweb: add paper style derived from coal
r6661
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
filediff = filediff.tmpl
filelog = filelog.tmpl
Brendan Cully
hgweb (coal/paper): make file, diff and annotate easier to render...
r7394 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 filelogentry = filelogentry.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661
Brendan Cully
hgweb (coal/paper): make file, diff and annotate easier to render...
r7394 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
Matt Mackall
hgweb: add paper style derived from coal
r6661
Rocco Rutte
coal/paper: Wrap diff in <pre/>...
r8369 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
Brendan Cully
hgweb (coal/paper): make file, diff and annotate easier to render...
r7394 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
Matt Mackall
hgweb: add paper style derived from coal
r6661
changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
filerename = '{file|escape}@'
filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
Stepan Koltsov
coal/paper: add missing spaces in changeset child formatting
r7668 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
Matt Mackall
hgweb: add paper style derived from coal
r6661 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 tags = tags.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
Sune Foldager
paper/coal: add branches page
r8353 branches = branches.tmpl
branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
Matt Mackall
hgweb: add paper style derived from coal
r6661 changelogtag = '<span class="tag">{name|escape}</span> '
changesettag = '<span class="tag">{tag|escape}</span> '
Benoit Allard
coal/paper: display branch names in log
r7407 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
changelogbranchname = '<span class="branchname">{name|escape}</span> '
Matt Mackall
hgweb: add paper style derived from coal
r6661 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
Brendan Cully
Remove RSS/atom links from coal/paper index
r6735 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
Brendan Cully
Improve archive links in coal/paper index
r6734 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 index = index.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 notfound = notfound.tmpl
error = error.tmpl
Matt Mackall
hgweb: add paper style derived from coal
r6661 urlparameter = '{separator}{name}={value|urlescape}'
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'