[PATCH 01 of 12] revlog: fix typo in 'buildtext' name
Boris Feld
boris.feld at octobus.net
Sat Aug 18 09:27:16 UTC 2018
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1534387832 -7200
# Thu Aug 16 04:50:32 2018 +0200
# Node ID 544933eed9653945bbeb2577fa1f6decf08dbb1f
# Parent a98e926b2f5b2404f2255f56fa967389550a0b96
# EXP-Topic sparse-snapshot
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 544933eed965
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 --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -2658,7 +2658,7 @@ class revlog(object):
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)
More information about the Mercurial-devel
mailing list