##// END OF EJS Templates
changegroup: introduce safeversion()...
changegroup: introduce safeversion() In a few places (at least repair.py and shelve.py), we want to find the best changegroup version that we can assume users of the repo will understand. For example, we choose version 01 by default, but if it's a generaldelta repo, we expect clients to support version 02 anyway, so we choose that for new bundles (for e.g. "hg strip"). Let's create a helper for this functionality in changegroup, so we can reuse it elsewhere later.

File last commit:

r18628:52305554 default
r27929:3b2ac211 stable
Show More
changelogentry.tmpl
6 lines | 537 B | application/x-cheetah | CheetahLexer
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <h3 class="changelog"><a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <ul class="changelog-entry">
Brodie Rao
hgweb: fix dynamic date calculation not working under Safari...
r15375 <li class="age">{date|rfc822date}</li>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
Angel Ezquerra
hgweb: apply the websub filter to revision descriptions...
r18628 <li class="description">{desc|strip|escape|websub|addbreaks|nonempty}</li>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </ul>