Revision 306251 of Git

  • Revision slug: Git
  • Revision title: Git
  • Revision id: 306251
  • Created:
  • Creator: NickolayBot
  • Is current revision? No
  • Comment mention the newer git repo
Tags: 

Revision Content

The most commonly used Mercurial mirror is at https://github.com/doublec/mozilla-central

This repository is synced using hg-git. The git-mapfile for it is available at http://www.bluishcoder.co.nz/git-mapfile.bz2

Bootstrapping a hg-git repo

hg clone http://hg.mozilla.org/mozilla-central mozilla-central-hg-git

cd mozilla-central-hg-git/.hg

wget http://www.bluishcoder.co.nz/git-mapfile.bz2

bunzip2 git-mapfile.bz2

git clone git://github.com/doublec/mozilla-central.git --bare git

cd ../

# sync up what's left

hg gexport

 Misc

 -R can be used for specifying a repository other than nearest .hg
e.g. hg -R ../mozilla-central-hg-git push .

Things that would be nice to be able to do

use try-server

Revision Source

<div class="note">
  <p>This page is out of date, see <a href="http://ehsanakhgari.org/blog/2012-08-30/git-mirror-mozilla-central" title="http://ehsanakhgari.org/blog/2012-08-30/git-mirror-mozilla-central">Git mirror of mozilla-central</a> and <a href="https://github.com/mozilla/mozilla-central" title="https://github.com/mozilla/mozilla-central">https://github.com/mozilla/mozilla-central</a>.</p>
</div>
<p>The most commonly used <a href="/en/Mercurial" title="Mercurial">Mercurial</a> mirror is at <a class="link-https" href="https://github.com/doublec/mozilla-central" title="https://github.com/doublec/mozilla-central">https://github.com/doublec/mozilla-central</a></p>
<p>This repository is synced using hg-git. The git-mapfile for it is available at <a class="external" href="http://www.bluishcoder.co.nz/git-mapfile.bz2" title="http://www.bluishcoder.co.nz/git-mapfile.bz2">http://www.bluishcoder.co.nz/git-mapfile.bz2</a></p>
<h3 id="Bootstrapping_a_hg-git_repo">Bootstrapping a hg-git repo</h3>
<p><code>hg clone <a class="external" href="http://hg.mozilla.org/mozilla-central" rel="freelink">http://hg.mozilla.org/mozilla-central</a> mozilla-central-hg-git</code></p>
<p><code>cd mozilla-central-hg-git/.hg</code></p>
<p><code>wget <a class="external" href="http://www.bluishcoder.co.nz/git-mapfile.bz2" rel="freelink">http://www.bluishcoder.co.nz/git-mapfile.bz2</a></code></p>
<p><code>bunzip2 git-mapfile.bz2</code></p>
<p><code>git clone <a class="external" href="git://github.com/doublec/mozilla-central.git" rel="freelink">git://github.com/doublec/mozilla-central.git</a> --bare git</code></p>
<p><code>cd ../</code></p>
<p><code># sync up what's left</code></p>
<p><code>hg gexport</code></p>
<h3 id=".C2.A0Misc">&nbsp;Misc</h3>
<p>&nbsp;-R can be used for specifying a repository other than nearest .hg<br />
  e.g. hg -R ../mozilla-central-hg-git push .</p>
<h3 id="Things_that_would_be_nice_to_be_able_to_do">Things that would be nice to be able to do</h3>
<p>use try-server</p>
Revert to this revision