Size: 1527
Comment:
|
Size: 1414
Comment: update to 1.0
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Installing ["Mercurial"] is straightforward. | Installing Mercurial is straightforward. |
Line 8: | Line 8: |
Once we're done, we'll come back here. | Once you're done, come back here. |
Line 10: | Line 10: |
'''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. | The Mercurial program is named {{{hg}}}. Every Mercurial command starts with {{{hg}}}, followed by the command name, followed by any relevant options and arguments. |
Line 12: | Line 12: |
The ["Mercurial"] program is named {{{hg}}}. Every ["Mercurial"] command starts with {{{hg}}}, followed by the command name, followed by any relevant options and arguments. Now we should be able to simply type {{{hg}}} at the prompt, and the program should display some helpful command summaries: |
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: |
Line 17: | Line 15: |
$ hg basic hg commands (use "hg help -v" for more): |
$ hg Mercurial Distributed SCM basic commands: |
Line 23: | Line 23: |
... | commit commit the specified files or all outstanding changes (...) use "hg help" for the full list of commands or "hg -v" for details |
Line 25: | Line 28: |
If this does not happen, there is something wrong with our installation, and we should take a look at InstallTroubleshooting. | |
Line 27: | Line 29: |
To determine what version of Mercurial you are running, type: | To determine what version of Mercurial we are running, let's type: |
Line 30: | Line 32: |
$ hg version Mercurial version fa3578bfafbf+20050629 |
$ hg version Mercurial Distributed SCM (version 1.0) |
Line 33: | Line 35: |
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 |
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 |
Line 37: | Line 39: |
Line 38: | Line 41: |
---- CategoryTutorial |
Tutorial - getting started: installation
Installing Mercurial is straightforward.
For Linux, MacOS X, and other Unix variants, follow the UnixInstall directions.
On Windows, follow the WindowsInstall instructions.
Once you're done, come back here.
The Mercurial program is named hg. Every Mercurial command starts with hg, followed by the command name, followed by any relevant options and arguments.
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:
$ 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
To determine what version of Mercurial we are running, let's type:
$ 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
If all has gone well, let's continue on to TutorialClone.