comparison mercurial/posix.py @ 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 52361c4f4dac
children f0ea0f642627 e10745311406
comparison
equal deleted inserted replaced
31803:2be73f9720a8 31804:726f24123f02