mozilla

Revision 237442 of Git

  • Revision slug: Git
  • Revision title: Git
  • Revision id: 237442
  • Created:
  • Creator: Skierpage
  • Is current revision? No
  • Comment link to Mercurial; 1 words added
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

<p>The most commonly used <a href="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>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<br> </code></p>
<p><code>cd mozilla-central-hg-git/.hg<br> </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> Misc</h3>
<p> -R can be used for specifying a repository other than nearest .hg<br> e.g. hg -R ../mozilla-central-hg-git push .</p>
<h3>Things that would be nice to be able to do</h3>
<p>use try-server</p>
Revert to this revision