changeset 39192:dbc5ead9f40f

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.
author Boris Feld <boris.feld@octobus.net>
date Thu, 16 Aug 2018 04:50:32 +0200
parents 5517d62c1bcc
children c62184c6299c
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)