Differences between revisions 6 and 7
Revision 6 as of 2009-05-08 01:07:20
Size: 1929
Comment:
Revision 7 as of 2009-05-19 19:31:02
Size: 1932
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
''(Questa pagina è la parte 1 di 9 delle serie [:ItalianTutorial]. La prossima parte è [:TutorialCopia])'' ''(Questa pagina è la parte 1 di 9 delle serie [[ItalianTutorial]]. La prossima parte è [[TutorialCopia]])''
Line 42: Line 42:
In modo predefinito Mercurial utilizza un nomeutente nella forma `user@localhost` per i [:Commit:commit]. In modo predefinito Mercurial utilizza un nomeutente nella forma `user@localhost` per i [[Commit|commit]].

Tutorial - installazione

(Questa pagina è la parte 1 di 9 delle serie ItalianTutorial. La prossima parte è TutorialCopia)

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.

Il programma Mercurial è chiamato hg. Ogni comando di Mercurial inizia con hg seguito rispettivamente dal nome del comando e da ogni opzione e argomento.

Adesso che Mercurial è installato, si dovrebbe poter digitare semplicemente hg sul prompt e il programma dovrebbe visualizzare alcuni utili comandi:

$ 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
 (...)

use "hg help" for the full list of commands or "hg -v" for details

Per controllare quale versione di Mercurial si sta utilizzando, inserire:

$ hg version
Mercurial Distributed SCM (version 1.0)

Copyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

In modo predefinito Mercurial utilizza un nomeutente nella forma user@localhost per i commit. Questo è spesso poco comprensibile. E' meglio configurare un indirizzo email appropiato in ~/.hgrc (o su Windows in %USERPROFILE%\Mercurial.ini, MercurialIni) aggiungendo linee come le seguenti:

[ui]
username = John Doe <john@example.com>

Se tutto è andato bene, procedere con TutorialCopia


CategoryItalian

TutorialInstallazione (last edited 2009-05-19 19:31:02 by localhost)