mercurial/wireprotov1server.py
changeset 50575 e6948aafda6f
parent 50476 4cafe20b79b6
child 50581 9e24f8442640
--- a/mercurial/wireprotov1server.py	Mon May 29 17:04:14 2023 +0100
+++ b/mercurial/wireprotov1server.py	Fri May 26 16:55:52 2023 +0200
@@ -274,9 +274,8 @@
     depending on the request. e.g. you could advertise URLs for the closest
     data center given the client's IP address.
     """
-    return wireprototypes.bytesresponse(
-        repo.vfs.tryread(bundlecaches.CB_MANIFEST_FILE)
-    )
+    manifest = bundlecaches.get_manifest(repo)
+    return wireprototypes.bytesresponse(manifest)
 
 
 wireprotocaps = [