Mercurial

  • Revision slug: Mercurial
  • Revision title: Mercurial
  • Revision id: 401047
  • Created:
  • Creator: Nickolay
  • Is current revision? No
  • Comment

Revision Content

Mercurial (also known as "hg"), is the distributed version control software used for the development of Firefox, Thunderbird, and the shared Gecko core. It replaced CVS after Mozilla 1.9 was branched.

hg is the Mercurial command-line tool, Hg being the chemical symbol for the element mercury.

Installation, configuration, and getting the source

See Installing Mercurial for installation and configuration tips.

See Getting Mozilla Source Code Using Mercurial for getting a tree to build.

Learning to use Mercurial

First, read every word of Mercurial basics, before you do anything else.

Then, the Mercurial FAQ is a decent place to start.

See Mercurial Queues for managing queues of patches, and how to integrate Mercurial with Bugzilla.

Further reading

The hg book is the definitive Mercurial user guide.

The Mercurial tag lists the Mercurial-related articles on MDC.

And on wiki.mozilla.org, these helpful pages:

  • {{ interwiki('wikimo', 'Using_Mercurial_locally_with_CVS', 'Using Mercurial locally with CVS') }}, a how-to. (Note that this is only useful for code that's still exclusively in CVS.)
  • {{ interwiki('wikimo', 'Mercurial_on_Windows', 'Mercurial on Windows') }}
  • Creating Mercurial User Repositories - If you have a LDAP account that allows you to push to hg.mozilla.org you can also create your own user repositories on the server to share work.

{{ languages( { "es": "es/Mercurial", "fr": "fr/Mercurial", "ja": "ja/Mercurial" } ) }}

Revision Source

<p><a class="external" href="http://www.selenic.com/mercurial/wiki/"><strong>Mercurial</strong></a> (also known as "hg"), is the <a class="external" href="http://blog.ianbicking.org/distributed-vs-centralized-scm.html">distributed version control software</a> used for the development of Firefox, Thunderbird, and the shared Gecko core. It replaced <a href="/en-US/docs/Developer_Guide/Source_Code/CVS" title="en-US/docs/Developer_Guide/Source_Code/CVS">CVS</a> after Mozilla 1.9 was branched.</p>
<p><strong><code>hg</code></strong> is the Mercurial command-line tool, Hg being the chemical symbol for the element mercury.</p>
<h2 name="Learning_to_use_Mercurial">Installation, configuration, and getting the source</h2>
<p>See <a href="/en-US/docs/Installing_Mercurial" title="/en-US/docs/Installing_Mercurial">Installing Mercurial</a> for installation and configuration tips.</p>
<p>See <a href="/en-US/docs/Developer_Guide/Source_Code/Mercurial" title="en-US/docs/Developer_Guide/Source_Code/Mercurial">Getting Mozilla Source Code Using Mercurial</a> for getting a tree to build.</p>
<h2 id="Learning_to_use_Mercurial" name="Learning_to_use_Mercurial">Learning to use Mercurial</h2>
<p>First, read every word of <a href="/en-US/docs/Mercurial_basics" title="en-US/docs/Mercurial_basics">Mercurial basics</a>, before you do anything else.</p>
<p>Then, the <a href="/en-US/docs/Mercurial_FAQ" title="en-US/docs/Mercurial_FAQ">Mercurial FAQ</a> is a decent place to start.</p>
<p>See <a href="/en-US/docs/Mercurial_Queues" title="en-US/docs/Mercurial_Queues">Mercurial Queues</a> for managing queues of patches, and how to integrate Mercurial with Bugzilla.</p>
<h2 id="Further_reading" name="Further_reading">Further reading</h2>
<p>The <a class="external" href="http://hgbook.red-bean.com/hgbook.html">hg book</a> is the definitive Mercurial user guide.</p>
<p>The <a href="/Special:Tags?tag=Mercurial&amp;language=en" title="https://developer.mozilla.org/Special:Tags?tag=Mercurial&amp;language=en">Mercurial tag</a> lists the Mercurial-related articles on MDC.</p>
<p>And on wiki.mozilla.org, these helpful pages:</p>
<ul>
  <li>{{ interwiki('wikimo', 'Using_Mercurial_locally_with_CVS', 'Using Mercurial locally with CVS') }}, a how-to. (Note that this is only useful for code that's still exclusively in CVS.)</li>
  <li>{{ interwiki('wikimo', 'Mercurial_on_Windows', 'Mercurial on Windows') }}</li>
  <li><a href="/en-US/docs/Creating_Mercurial_User_Repositories" title="en-US/docs/Creating_Mercurial_User_Repositories">Creating Mercurial User Repositories</a> - If you have a LDAP account that allows you to push to hg.mozilla.org you can also create your own user repositories on the server to share work.</li>
</ul>
<p>{{ languages( { "es": "es/Mercurial", "fr": "fr/Mercurial", "ja": "ja/Mercurial" } ) }}</p>
Revert to this revision