aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/mercurial/index.html
blob: 1a375a06432a9445ab3ac0240981f9afb642607b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
title: Mercurial
slug: Mercurial
translation_of: Mozilla/Mercurial
---
<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/Developer_Guide/Source_Code/CVS" title="En/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 id="Learning_to_use_Mercurial" name="Learning_to_use_Mercurial">Learning to use Mercurial</h2>
<p>First, read every word of <a href="/en/Mercurial_basics" title="en/Mercurial_basics">Mercurial basics</a>, before you do anything else.</p>
<p>Then, the <a href="/en/Mercurial_FAQ" title="en/Mercurial_FAQ">Mercurial FAQ</a> is a decent place to start.</p>
<p>See <a href="/En/Developer_Guide/Source_Code/Mercurial" title="https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial">Getting Mozilla Source Code Using Mercurial</a><a href="/En/Developer_Guide/Source_Code/Mercurial" title="En/Developer_Guide/Source_Code/Mercurial"> </a>for getting a tree to build.</p>
<p>See <a class="internal" href="/en/Mercurial_Queues" title="en/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 class="internal" href="/en/Creating_Mercurial_User_Repositories" title="en/Publishing Mercurial Clones">Publishing Mercurial Clones</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>