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: self.clrevtolocalrev = self._nextclrevtolocalrev self._nextclrevtolocalrev.clear() - 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']