hgext/clonebundles.py
branchstable
changeset 26857 e5a1df51bb25
parent 26762 26f622859288
child 26884 762bf510b42c
--- a/hgext/clonebundles.py	Wed Nov 04 23:48:15 2015 +0900
+++ b/hgext/clonebundles.py	Tue Nov 03 12:31:33 2015 -0800
@@ -211,18 +211,6 @@
 
     return caps
 
-@wireproto.wireprotocommand('clonebundles', '')
-def bundles(repo, proto):
-    """Server command for returning info for available bundles to seed clones.
-
-    Clients will parse this response and determine what bundle to fetch.
-
-    Other extensions may wrap this command to filter or dynamically emit
-    data depending on the request. e.g. you could advertise URLs for
-    the closest data center given the client's IP address.
-    """
-    return repo.opener.tryread('clonebundles.manifest')
-
 @exchange.getbundle2partsgenerator('clonebundlesadvertise', 0)
 def advertiseclonebundlespart(bundler, repo, source, bundlecaps=None,
                               b2caps=None, heads=None, common=None,