Mercurial > hg-stable
comparison tests/test-extension.t @ 31804:726f24123f02
revlog: avoid applying delta chain on cache hit
Previously, revlog.revision(raw=False) may try to apply the delta chain
on _cache hit. That happens if flags are non-empty. This patch makes rawtext
reused so delta chain application is avoided.
"_cache" and "rev" are moved a bit to avoid unnecessary assignments.
author | Jun Wu <quark@fb.com> |
---|---|
date | Sun, 02 Apr 2017 18:40:13 -0700 |
parents | 6b8e1a08ef1d |
children | 46ba2cdda476 |
comparison
equal
deleted
inserted
replaced
31803:2be73f9720a8 | 31804:726f24123f02 |
---|