Patchwork D4136: changegroup: record changelogdone after fully consuming its data

login
register
mail settings
Submitter phabricator
Date Aug. 9, 2018, 6:15 p.m.
Message ID <d2fc05f3d26b22029d8bb6cf09411401@localhost.localdomain>
Download mbox | patch
Permalink /patch/33493/
State Not Applicable
Headers show

Comments

phabricator - Aug. 9, 2018, 6:15 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6d726d1b08cb: changegroup: record changelogdone after fully consuming its data (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4136?vs=10063&id=10143

REVISION DETAIL
  https://phab.mercurial-scm.org/D4136

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

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']