[PATCH 3 of 7] revlog: stop calling `basetext` `rawtext` in _revisiondata
Yuya Nishihara
yuya at tcha.org
Wed Aug 21 08:29:58 EDT 2019
On Tue, 20 Aug 2019 18:37:28 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1565214534 -7200
> # Wed Aug 07 23:48:54 2019 +0200
> # Node ID bab054f6cc691c74c503e043ee82482695b403a4
> # Parent 598ab124d9b67810662db9a5d770e90cf913b9a4
> # EXP-Topic revisiondata
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r bab054f6cc69
> revlog: stop calling `basetext` `rawtext` in _revisiondata
> bins = self._chunks(chain, df=_df, targetsize=targetsize)
> - if rawtext is None:
> - rawtext = bytes(bins[0])
> + if basetext is None:
> + basetext = bytes(bins[0])
> bins = bins[1:]
>
> - rawtext = mdiff.patches(rawtext, bins)
> + rawtext = mdiff.patches(basetext, bins)
> + del basetext # let us have a change to free memory early
s/change/chance/ in flight.
More information about the Mercurial-devel
mailing list