Mercurial : Différence entre versions
(Page créée avec « You need to install the Mercurial version control software. The easiest is to install it through the Ubuntu repositories. The other w... ») |
|||
Ligne 1 : | Ligne 1 : | ||
− | You need to install the [ | + | You need to install the [https://www.mercurial-scm.org/ Mercurial] version control software. The easiest is to install it through the Ubuntu repositories. The other way to do so on any platform is to install the [[http://pypi.python.org/pypi/setuptools|Python setuptools]] and Python headers (<tt>sudo apt install python-setuptools python-dev</tt>) or [https://pip.pypa.io/en/stable/ pip]. Mercurial can then be installed and updated through easy_install (<tt>sudo easy_install -U mercurial</tt>) or pip (<tt>sudo pip install mercurial --upgrade</tt>). |
− | + | On Windows, the [http://tortoisehg.bitbucket.org/ 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 <tt>~/.hgrc</tt> (<tt>Mercurial.ini</tt> in <tt>Document and Setting/[username]</tt> on Windows). Here is an example to adapt to your needs: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | 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 | + | [ui] |
+ | username = Nicolas Saunier <email_adress> | ||
+ | [extensions] | ||
+ | hgext.graphlog = | ||
+ | [paths] | ||
+ | trafficintelligence = https://Nicolas@bitbucket.org/Nicolas/trafficintelligence | ||
+ | |||
+ | 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 du 13 mars 2017 à 16:32
You need to install the Mercurial version control software. The easiest is to install it through the Ubuntu repositories. The other way to do so on any platform is to install the [setuptools] and Python headers (sudo apt install python-setuptools python-dev) or pip. Mercurial can then be installed and updated through easy_install (sudo easy_install -U mercurial) or pip (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 = https://Nicolas@bitbucket.org/Nicolas/trafficintelligence
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.