changegroup: back code change of e7c618cee8df out stable
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 06 Nov 2015 13:01:15 -0500
branchstable
changeset 26882 c4895f9b8ab1
parent 26881 6b1ea6961554
child 26883 c750ed59892a
changegroup: back code change of e7c618cee8df out The previous changeset is a simpler way of fixing issue4934 without changing the spirit of the code. We can remove the dual call to 'delayupdate' but we keep the tests to show that the issue is still fixed.
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Fri Nov 06 12:59:09 2015 -0500
+++ b/mercurial/changegroup.py	Fri Nov 06 13:01:15 2015 -0500
@@ -406,10 +406,6 @@
                              % (changesets, revisions, files, htext))
             repo.invalidatevolatilesets()
 
-            # Call delayupdate again to ensure the transaction writepending
-            # subscriptions are still in place.
-            cl.delayupdate(tr)
-
             if changesets > 0:
                 if 'node' not in tr.hookargs:
                     tr.hookargs['node'] = hex(cl.node(clstart))