revlog: fix typo in 'buildtext' name
authorBoris Feld <boris.feld@octobus.net>
Thu, 16 Aug 2018 04:50:32 +0200
changeset 39192 dbc5ead9f40f
parent 39191 5517d62c1bcc
child 39194 c62184c6299c
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.
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)