Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changelogentry-rss.tmpl @ 2320:dbdce3b99988
fix parsing of tags. make parse errors useful. add new tag tests.
old code read every head of .hgtags. delete and recreate of .hgtags gave
new head, but if error in deleted rev, .hgtags had error messages every
time it was parsed. this was very hard to fix, because deleted revs hard
to get back and update, needed merges too.
new code reads .hgtags on every head. advantage is if parse error
happens with new code, is possible to fix them by editing .hgtags on a
head and committing.
NOTE: new code uses binary search of manifest of each head to be fast,
but still much slower than old code. best thing would be to have delete
record stored in filelog so we never touch manifest. could find live
heads directly from filelog. this is more work than i want now.
new tests check for parse of tags on different heads, and inaccessible
heads created by delete and recreate of .hgtags.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 18 May 2006 23:31:12 -0700 |
parents | a91bfbbe88d3 |
children |
rev | line source |
---|---|
599 | 1 <item> |
1511
a91bfbbe88d3
hgweb: remove redundant rstrip filter
TK Soh <teekaysoh@yahoo.com>
parents:
1445
diff
changeset
|
2 <title>#desc|strip|firstline|strip|escape#</title> |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
814
diff
changeset
|
3 <link>#url#?cs=#node|short#</link> |
1445
56281e086f38
hgweb: add strip and rstrip filters to handle summary
TK Soh <teekaysoh@yahoo.com>
parents:
1410
diff
changeset
|
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> |
599 | 5 <author>#author|obfuscate#</author> |
6 <pubDate>#date|rfc822date#</pubDate> | |
7 </item> |