# HG changeset patch # User Pierre-Yves David # Date 2015-11-06 18:01:15 # Node ID c4895f9b8ab1ef4514652eb81954a3577b71f4d8 # Parent 6b1ea6961554e8696424bf677adc1165764659f2 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. diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -406,10 +406,6 @@ class cg1unpacker(object): % (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))