comparison tests/test-hgrc.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 fbc4eb8e2433
children 4441705b7111
comparison
equal deleted inserted replaced
31803:2be73f9720a8 31804:726f24123f02