mercurial/bundle2.py
changeset 45106 a03c177a4679
parent 44372 8407031f195f
child 45117 b1e51ef4e536
--- a/mercurial/bundle2.py	Tue Jul 14 11:28:06 2020 -0700
+++ b/mercurial/bundle2.py	Tue Apr 14 16:43:54 2020 +0530
@@ -166,6 +166,7 @@
     phases,
     pushkey,
     pycompat,
+    scmutil,
     streamclone,
     tags,
     url,
@@ -1977,7 +1978,7 @@
         op.repo.svfs.options = localrepo.resolvestorevfsoptions(
             op.repo.ui, op.repo.requirements, op.repo.features
         )
-        op.repo._writerequirements()
+        scmutil.writereporequirements(op.repo)
 
     bundlesidedata = bool(b'exp-sidedata' in inpart.params)
     reposidedata = bool(b'exp-sidedata-flag' in op.repo.requirements)