Mercurial : Différence entre versions
m |
|||
(Une révision intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
− | You need to install the [https://www.mercurial-scm.org/ Mercurial] version control software. The easiest is to install it through the Ubuntu repositories. If using pip, Mercurial can then be installed and updated through <tt>sudo pip install mercurial --upgrade</tt>. | + | You need to install the [https://www.mercurial-scm.org/ Mercurial] version control software. The easiest is to install it through the Ubuntu repositories. If using pip (see [[PythonResources#Install_Python]]), Mercurial can then be installed and updated through <tt>sudo pip install mercurial --upgrade</tt>. |
On Windows, the [http://tortoisehg.bitbucket.io/ TortoiseHg] software is recommended since it has a graphical user interface integrated in the Windows explorer (although the preferred way to interact will be the command line). | On Windows, the [http://tortoisehg.bitbucket.io/ TortoiseHg] software is recommended since it has a graphical user interface integrated in the Windows explorer (although the preferred way to interact will be the command line). | ||
Ligne 10 : | Ligne 10 : | ||
hgext.graphlog = | hgext.graphlog = | ||
[paths] | [paths] | ||
− | trafficintelligence = | + | trafficintelligence = ssh://nicolassaunier@hg.code.sf.net/p/traffic-intelligence/code traffic-intelligence-code |
You are advised to follow the very good [https://www.mercurial-scm.org/guide introduction] and [https://www.mercurial-scm.org/wiki/Tutorial tutorial] on the Mercurial website, and see the rest of the documentation, including the freely available [http://hgbook.red-bean.com/ online book]. | You are advised to follow the very good [https://www.mercurial-scm.org/guide introduction] and [https://www.mercurial-scm.org/wiki/Tutorial tutorial] on the Mercurial website, and see the rest of the documentation, including the freely available [http://hgbook.red-bean.com/ online book]. |
Version actuelle en date du 15 août 2024 à 16:14
You need to install the Mercurial version control software. The easiest is to install it through the Ubuntu repositories. If using pip (see PythonResources#Install_Python), Mercurial can then be installed and updated through sudo pip install mercurial --upgrade.
On Windows, the TortoiseHg software is recommended since it has a graphical user interface integrated in the Windows explorer (although the preferred way to interact will be the command line).
You should configure Mercurial using its configuration file called ~/.hgrc (Mercurial.ini in Document and Setting/[username] on Windows). Here is an example to adapt to your needs:
[ui] username = Nicolas Saunier <email_adress> [extensions] hgext.graphlog = [paths] trafficintelligence = ssh://nicolassaunier@hg.code.sf.net/p/traffic-intelligence/code traffic-intelligence-code
You are advised to follow the very good introduction and tutorial on the Mercurial website, and see the rest of the documentation, including the freely available online book.