[PATCH 6 of 7 STABLE] localrepo: introduce a `_refreshchangelog` method

Yuya Nishihara yuya at tcha.org
Fri Jun 21 22:55:30 EDT 2019


On Fri, 21 Jun 2019 04:04:13 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1561081806 -7200
> #      Fri Jun 21 03:50:06 2019 +0200
> # Branch stable
> # Node ID ddd62edfa406e3b84483cafcaa93927ca917d0cd
> # Parent  1646be228b7105c3b0148ae1744802502f872fd9
> # EXP-Topic book-del-stable
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r ddd62edfa406
> localrepo: introduce a `_refreshchangelog` method

The series looks good and appears to be ninja queued.

> +    def _refreshchangelog(self):
> +        """make sure the in memory changelog match the on-disk one"""
> +        if ('changelog' in vars(self) and self.currenttransaction() is None):

r'changelog' for py3.


More information about the Mercurial-devel mailing list