mercurial/changegroup.py
changeset 39017 6d726d1b08cb
parent 39016 d2ab0db89465
child 39018 4a202bccafcf
--- a/mercurial/changegroup.py	Mon Aug 06 09:24:35 2018 -0700
+++ b/mercurial/changegroup.py	Fri Aug 03 18:31:00 2018 -0700
@@ -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']