diff -r 9e15286609ae -r 5a95fe44121d hgext/clonebundles.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hgext/clonebundles.py Fri Oct 09 11:22:01 2015 -0700 @@ -0,0 +1,69 @@ +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + +"""server side extension to advertise pre-generated bundles to seed clones. + +The extension essentially serves the content of a .hg/clonebundles.manifest +file to clients that request it. + +The clonebundles.manifest file contains a list of URLs and attributes. URLs +hold pre-generated bundles that a client fetches and applies. After applying +the pre-generated bundle, the client will connect back to the original server +and pull data not in the pre-generated bundle. + +Manifest File Format: + +The manifest file contains a newline (\n) delimited list of entries. + +Each line in this file defines an available bundle. Lines have the format: + + [=