changeset 35845 | be923ce44d6a |
parent 35738 | f90f6fd130c1 |
child 35967 | 61326dd7cb8d |
--- a/mercurial/revlog.py Wed Jan 17 22:05:37 2018 -0500 +++ b/mercurial/revlog.py Thu Jan 18 09:14:30 2018 -0500 @@ -2099,7 +2099,7 @@ if alwayscache and rawtext is None: rawtext = deltacomputer._buildtext(revinfo, fh) - if type(rawtext) == str: # only accept immutable objects + if type(rawtext) == bytes: # only accept immutable objects self._cache = (node, curr, rawtext) self._chainbasecache[curr] = chainbase return node