##// END OF EJS Templates
make revlog.addgroup pass its file handles to addrevision...
make revlog.addgroup pass its file handles to addrevision This should fix issue255. It looks like the problem there happens when addgroup calls addrevision to add a full revision, and addrevision decides to split the index file into a .i/.d pair. Since addgroup has an open file handle for the index file, the renaming of the new .i file to its final name fails on windows.

File last commit:

r3365:cf680c9a default
r3390:a74adddd default
Show More
map
55 lines | 4.9 KiB | text/plain | TextLexer
Vadim Gelfer
use safer string parser for template engine.
r1901 default = 'changelog'
mpm@selenic.com
Prettify the web interface...
r142 header = header.tmpl
footer = footer.tmpl
mpm@selenic.com
Add multiple keyword search to hgweb...
r538 search = search.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changelog = changelog.tmpl
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686 shortlog = shortlog.tmpl
shortlogentry = shortlogentry.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 naventry = '<a href="#url#log/#rev#{sessionvars%urlparameter}">#label|escape#</a> '
navshortentry = '<a href="#url#shortlog/#rev#{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> '
Vadim Gelfer
use safer string parser for template engine.
r1901 fileellipses = '...'
mpm@selenic.com
Revamped templated hgweb
r138 changelogentry = changelogentry.tmpl
Thomas Arendsen Hein
Use changelogentry.tmpl for search results, too....
r708 searchentry = changelogentry.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changeset = changeset.tmpl
manifest = manifest.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td>&nbsp;<td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#/</a>'
manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td align=right><tt>#size#</tt>&nbsp;<td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a>'
mpm@selenic.com
Revamped templated hgweb
r138 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
filediff = filediff.tmpl
filelog = filelog.tmpl
Vadim Gelfer
use safer string parser for template engine.
r1901 fileline = '<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>'
mpm@selenic.com
Revamped templated hgweb
r138 filelogentry = filelogentry.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'
Vadim Gelfer
use safer string parser for template engine.
r1901 difflineplus = '<span class="plusline">#line|escape#</span>'
difflineminus = '<span class="minusline">#line|escape#</span>'
difflineat = '<span class="atline">#line|escape#</span>'
diffline = '#line|escape#'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 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 = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filerevparent = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filerename = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#@#node|short#</a></td></tr>'
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}">#node|short#</a></td></tr>'
changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{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>'
mpm@selenic.com
hgweb: add tags links and manifest links...
r168 tags = tags.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#tag|escape#</a></li>'
Vadim Gelfer
use safer string parser for template engine.
r1901 diffblock = '<pre class="parity#parity#">#lines#</pre>'
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 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>'
Thomas Arendsen Hein
Keep session variables when linking from hgwebdir's index to repositories.
r3365 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"><a href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>'
mpm@selenic.com
Add a multi-repository server...
r941 index = index.tmpl
Brendan Cully
Update templates to use NewWebInterface
r3265 archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> '
Ollivier Robert
Use a template for the error message.
r1123 notfound = notfound.tmpl
Thomas Arendsen Hein
Catch IOErrors and RepoErrors when serving repositories via hgweb.
r1554 error = error.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 urlparameter = '#separator##name#=#value|urlescape#'
Thomas Arendsen Hein
hgweb: Keep session variables (currently only style) in HTML forms, too....
r3362 hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'