From patchwork Tue Aug 7 17:26:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D4136: changegroup: record changelogdone after fully consuming its data From: phabricator X-Patchwork-Id: 33410 Message-Id: <4a01a3c50ff9729c462306ae13a47e02@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Tue, 7 Aug 2018 17:26:55 +0000 indygreg updated this revision to Diff 10063. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4136?vs=10007&id=10063 REVISION DETAIL https://phab.mercurial-scm.org/D4136 AFFECTED FILES mercurial/changegroup.py CHANGE DETAILS To: indygreg, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -607,7 +607,6 @@ if self._nextclrevtolocalrev is not None: self._clrevtolocalrev = self._nextclrevtolocalrev self._nextclrevtolocalrev = None - self._changelogdone = True return closechunk() @@ -730,6 +729,8 @@ self._verbosenote(_('%8.i (changelog)\n') % size) + self._changelogdone = True + clrevorder = clstate['clrevorder'] mfs = clstate['mfs'] changedfiles = clstate['changedfiles']