changeset 26882:c4895f9b8ab1 stable

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 06 Nov 2015 13:01:15 -0500
parents 6b1ea6961554
children c750ed59892a
files mercurial/changegroup.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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))