Differences between revisions 2 and 3
Revision 2 as of 2008-02-11 22:10:25
Size: 2924
Editor: WagnerBruna
Comment:
Revision 3 as of 2008-02-12 19:18:26
Size: 1820
Editor: WagnerBruna
Comment: cleaning up; reviewing phrasing
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
## still a draft

##== Tutorial - getting started: installation ==
Line 10: Line 7:
##Installing Mercurial is straightforward.
Line 13: Line 9:
## * For Linux, Mac``OS X, and other Unix variants, follow the UnixInstall directions.
## * On Windows, follow the WindowsInstall instructions.
Line 18: Line 12:
##Once you're done, come back here.
Line 21: Line 14:
##'''Note:''' This tutorial assumes you are running a version of Mercurial later than 0.6. In other words, if you have the 0.6 release, the tutorial will not work for you. This tutorial was last updated for Mercurial 0.9.1.
Line 24: Line 16:
##The Mercurial program is named {{{hg}}}. Every Mercurial command starts with {{{hg}}}, followed by the command name, followed by any relevant options and arguments.
O executável do Mercurial é chamado {{{hg}}}. Todos os comandos do Mercurial começam por {{{hg}}}, seguido do nome do comando, seguido por quaisquer opções e arqumentos relevantes.
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.
Line 27: Line 18:
##Now that Mercurial is installed, we should be able to simply type {{{hg}}} at the prompt, and the program should display some helpful command summaries:
Com o Mercurial instalado, nós devemos poder digitar simplesmente {{{hg}}} no prompt, e o programa deve exibir alguns sumários úteis dos comandos:
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:
Line 42: Line 32:
##If this is not the case, there is something wrong with your installation, and you should take a look at InstallTroubleshooting.
Line 45: Line 34:
##To determine what version of Mercurial we are running, let's type:
Line 57: Line 45:
##If all has gone well, let's continue on to TutorialClone.

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.


CategoryTutorial

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