mercurial/bundle2.py
branchstable
changeset 35804 2d3e486d09d0
parent 35793 4fb2bb61597c
child 35811 e35320ce8043
--- a/mercurial/bundle2.py	Wed Jan 24 21:44:31 2018 +0100
+++ b/mercurial/bundle2.py	Fri Jan 26 15:51:07 2018 +0100
@@ -2155,11 +2155,3 @@
     repo.ui.debug('applying stream bundle\n')
     streamclone.applybundlev2(repo, part, filecount, bytecount,
                               requirements)
-
-    # new requirements = old non-format requirements +
-    #                    new format-related remote requirements
-    # requirements from the streamed-in repository
-    repo.requirements = set(requirements) | (
-            repo.requirements - repo.supportedformats)
-    repo._applyopenerreqs()
-    repo._writerequirements()