##// END OF EJS Templates
debugdeltachain: avoid division by zero when a chain is empty...
debugdeltachain: avoid division by zero when a chain is empty The two ratios chainratio and extraratio are computed using dividers that may be zero when the file is empty. As the denominators are integers, the limit of the ratio "just before zero" is the numerator value itself. If the numerator itself is zero, the ratio value is still meaningful: in both cases, a "good" value is a low ratio, and a size of zero is the optimal case.

File last commit:

r24588:0bf54479 default
r38668:93313f66 default
Show More
changelist.tmpl
5 lines | 124 B | application/x-cheetah | CheetahLexer
Gregory Szorc
json: implement {shortlog} and {changelog} templates...
r24588 \{
"node": {node|json},
"changeset_count": {changesets|json},
"changesets": [{join(entries%changelistentry, ", ")}]
}