Mozilla Mercurial Source Bundles

Started off in this post.

"Second, I have lots of bandwidth to spare, and I just encountered the pain of trying to clone mozilla-central from scratch with a flaky and unreliable internet connection. No matter how long you try, it does not seem to finish, so I resorted to Benjamin Smedberg’s bundle file that saved me lots of agony." …

mozilla-central:
Metalink to the mozilla-central bundle: (downloaded >1,000 times)
changeset 19866, updated as of 20080928-21:06:34 PDT. (78M)
SHA-1: f9387beb9e902d22e6c5d01dc96ebac4b1807f45
changeset 18525, updated as of 20080829-10:05:02 PDT. (74M) (~950 downloads, 68.5G of bandwidth)
SHA-1: 7d069e0a186c556ef1039ad03d0ebb5edb2b48d4

comm-central:
Metalink to the comm-central bundle: (downloaded >700 times)
changeset 458, updated as of 20080928-18:46:09 PDT. (11M)
SHA-1: 7d9a9fb52c02b0165f19bf51230486ad43b178eb
changeset 227, updated as of 20080829-16:27:14 PDT. (7.6M) (~675 downloads, 5G of bandwidth)
SHA-1: ade283eca96c354d8b8eac63f2c17258e5bc5c57

Please try out the metalinks (generated here) as they will verify the download automatically with the SHA-1 hashes. The instructions below are adapted from his page.

Unbundle the above repositories using the following steps, substituting mozilla-central and comm-central as necessary:
1 - Create a new repository
$ hg init mozilla-central
2 - Unbundle it.
$ cd mozilla-central
$ hg unbundle /<path>/<to>/mozilla-central.bundle

3 - Tell Mercurial where you normally want to pull from by copying the following content into your mozilla-central/.hg/hgrc file:
[paths]
default = http://hg.mozilla.org/mozilla-central/

4 - Pull the latest changes and update your local repository.
$ hg pull -u
This way, the repositories should set up much faster if you have a flaky connection; you can always resume and verify your download if you are getting the bundle files.

Note that comm-central’s client.py will pull in mozilla-central as well. You can easily use the mozilla-central bundle for this purpose, but you should ensure that your .hg/hgrc file in that repository is also updated. The directory should be called mozilla/ within the comm-central repository because client.py assumes the directory to be named that way.