# HG changeset patch # User Boris Feld # Date 1534387832 -7200 # Node ID dbc5ead9f40f909104b8f029dbe68fb42f700b41 # Parent 5517d62c1bcce94f707c3a97f15d1f75aa481a19 revlog: fix typo in 'buildtext' name There are no such things as 'deltacomputer._buildtext'. I'm not sure why this code never ran, but we better fix the typo. diff -r 5517d62c1bcc -r dbc5ead9f40f mercurial/revlog.py --- a/mercurial/revlog.py Sat Aug 18 23:17:06 2018 -0700 +++ b/mercurial/revlog.py Thu Aug 16 04:50:32 2018 +0200 @@ -2661,7 +2661,7 @@ self._writeentry(transaction, ifh, dfh, entry, data, link, offset) if alwayscache and rawtext is None: - rawtext = deltacomputer._buildtext(revinfo, fh) + rawtext = deltacomputer.buildtext(revinfo, fh) if type(rawtext) == bytes: # only accept immutable objects self._cache = (node, curr, rawtext)