Le mardi 9 juin 2009
Installer Mercurial sur Mac Os X Leopard
Par Cyrille, à 21:08 | Informatique
Logiquement easy_install est installé, il ne reste donc qu'à saisir dans un Terminal:
cyrille$ sudo easy_install -U mercurial Password: Searching for mercurial Reading http://pypi.python.org/simple/mercurial/ Reading http://www.selenic.com/mercurial Best match: mercurial 1.2 Downloading http://www.selenic.com/mercurial/release/mercurial-1.2.tar.gz Processing mercurial-1.2.tar.gz Running mercurial-1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-KE4f46/mercurial-1.2/egg-dist-tmp-noZniO abort: There is no Mercurial repository here (.hg not found) zip_safe flag not set; analyzing archive contents... mercurial.i18n: module references __file__ mercurial.lsprof: module references __file__ mercurial.templater: module references __file__ mercurial unknown is already the active version in easy-install.pth Installing hg script to /usr/local/bin Installed /Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg Processing dependencies for mercurial Finished processing dependencies for mercurial
Ensuite, on lance hg pour tester si tout est bien installé :
cyrille$ hg Mercurial Distributed SCM basic commands: add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository commit commit the specified files or all outstanding changes diff diff repository (or selected files) export dump the header and diffs for one or more changesets init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision parents show the parents of the working dir or revision pull pull changes from the specified source push push changes to the specified destination remove remove the specified files on the next commit serve export the repository via HTTP status show changed files in the working directory update update working directory
use "hg help" for the full list of commands or "hg -v" for details iMac-de-Cyrille:~ cyrille$
It's work!














