⇤ ← Revision 1 as of 2008-03-30 00:27:51
Size: 1050
Comment:
|
Size: 1615
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 17: | Line 17: |
==prompt1== | {{{ $ hg Mercurial Distributed SCM basic commands (use "hg help" for the full list or option "-v" for details): add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository (...) }}} |
Line 23: | Line 33: |
==prompt2== | {{{ $ hg version Mercurial Distributed SCM (version 0.9.1) Copyright (C) 2005 Matt Mackall <mpm@selenic.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. }}} |
Line 26: | Line 43: |
---- CategoryTutorial |
Tutorial - installazione
Installare Mercurial è facilissimo.
*Per Linux, MacOS X e altre varianti di Unix, è sufficiente seguire le indicazioni in UnixInstall
*Per Windows, fare riferimento alle istruzioni in WindowsInstall
Una volta che si è fatto, tornare qui.
NB: Questo tutorial prevede che si stia usando una versione di Mercurial posteriore alla 0.6. In altre parole, sennò queste indicazioni non sono valide.
Il programma Mercurial ha nome hg. Ogni comando di Mercurial inizia con hg seguito rispettivamente dal nome del comando e da ogni opzione e argomento.
Ora che Mercurial è installato, sobbiamo semplicemente digitare hg sul prompt e il programma dovrebbe mostrare il sommario dei comandi:
$ hg Mercurial Distributed SCM basic commands (use "hg help" for the full list or option "-v" for details): add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository (...)
Se ciò non accade ci dev'essere stato un problema con l'installazione e sarebbe oppotuno consultare la sezione InstallTroubleshooting.
Per controllare quale versione di Mercurial si sta utilizzando, digitare:
$ hg version Mercurial Distributed SCM (version 0.9.1) Copyright (C) 2005 Matt Mackall <mpm@selenic.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Se tutto è andato bene, procedere con TutorialCopia