Submitter | phabricator |
---|---|
Date | Jan. 18, 2018, 4:13 p.m. |
Message ID | <differential-rev-PHID-DREV-2dwjtfdlchbpemdme7ko-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26914/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -2060,7 +2060,7 @@ if alwayscache and rawtext is None: rawtext = self._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