##// END OF EJS Templates
revlog: fix _cache usage in revision()...
revlog: fix _cache usage in revision() As documented at revlog.__init__, revlog._cache stores raw text. The current read and write usage of "_cache" in revlog.revision lacks of raw=True check. This patch fixes that by adding check about raw, and storing rawtext explicitly in _cache. Note: it may slow down cache hit code path when raw=False and flags=0. That performance issue will be fixed in a later patch. test-revlog-raw now points us to a new problem.

File last commit:

r31751:2133437d default
r31751:2133437d default
Show More
test-revlog-raw.py.out
1 line | 59 B | text/plain | TextLexer
/ tests / test-revlog-raw.py.out
abort: crashed: integrity check failed on _testrevlog.i:11