Mercurial > hg
diff hgdemandimport/demandimportpy3.py @ 42791:90f5dfc9c42a
revlog: avoid caching raw text too early in _revisiondata
Without this change, we could cache the rawtext without considering for it
validating the cache or not. If the exception raised by the invalid hash were to
be caught and the same revision accessed again, the invalid rawtext would be
returned.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Aug 2019 16:29:43 +0200 |
parents | adb636392b3f |
children | 2372284d9457 |