Differences between revisions 5 and 6
Revision 5 as of 2008-02-12 20:38:46
Size: 1904
Editor: WagnerBruna
Comment: fixed category
Revision 6 as of 2009-05-19 19:30:56
Size: 1905
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
''(This page in English: [:TutorialInstall])'' ''(This page in English: [[TutorialInstall]])''

Tutorial - para começar: instalação

(This page in English: TutorialInstall)

Instalar o Mercurial é simples.

  • No Linux, MacOS X, e outras variantes do Unix, siga as instruções em UnixInstall.

  • No Windows, siga as instruções em WindowsInstall.

Uma vez terminado, continue aqui.

Nota: Este tutorial assume que você está executando uma versão do Mercurial posterior à 0.6. Em outras palavras, se você tem a versão 0.6, este tutorial não funcionará para você. Este tutorial foi atualizado pela última vez para o Mercurial 0.9.1.

O executável do Mercurial é chamado hg. Todos os comandos do Mercurial começam por hg, seguido do nome do comando, seguido de quaisquer opções e argumentos relevantes.

Com o Mercurial instalado, nós devemos poder digitar simplesmente hg no prompt, e o programa deve exibir descrições curtas de alguns dos comandos:

$ 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 esse não for o caso, há algo errado com sua instalação, e você deve dar uma olhada em InstallTroubleshooting.

Para determinar a versão do Mercurial que estamos executando, vamos digitar:

$ 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 tudo correr bem, prossigamos em ../BrazilianPortugueseTutorialClone.


CategoryBrazilianPortuguese

BrazilianPortugueseTutorialInstall (last edited 2010-05-02 03:06:10 by WagnerBruna)