Multiple changes

- Remove double newlines
- Merge lists
- fix locations where lines are > 80 chars.
- Remove excess whitespace in table
This commit is contained in:
Will L Fife 2018-10-28 11:31:13 -07:00
parent cc2b3dca73
commit 7825aa8384

View File

@ -18,82 +18,58 @@ anyone working with versioned files.
Version control is a system that keeps track fo changes to a set of file(s) Version control is a system that keeps track fo changes to a set of file(s)
and/or directorie(s) over time. and/or directorie(s) over time.
### Why Use Mercurial ### Why Use Mercurial
* Distributed Architecture * Distributed Architecture - Traditionally version control systems such as CVS
* Fast and Subversion are a client server architecture with a central server to
* Platform Independent store the revsion history of a project. Mercurial however is a truly
* Extensible distributed architecture, giving each devloper a full local copy of the
* Easy to use entire development history. It works independently of a central server.
* Open Source
* Fast - Traditionally version control systems such as CVS and Subversion are a
client server architecture with a central server to store the revsion history
of a project. Mercurial however is a truly distributed architecture, giving
each devloper a full local copy of the entire development history. It works
independently of a central server.
#### Distributed Architecture * Platform Independent - Mercurial was written to be highly platform
independent. Much of Mercurial is written in Python, with small performance
critical parts written in portable C. Binary releases are available for all
major platforms.
Traditionally version control systems such as CVS and Subversion are a client server * Extensible - The functionality of Mercurial can be increased with extensions,
architecture with a central server to store the revsion history of a project. Mercurial however either by activating the official ones which are shipped with Mercurial or
is a truly distributed architecture, giving each devloper a full local copy of the entire downloading some [from the
development history. It works independently of a central server. wiki](https://www.mercurial-scm.org/wiki/UsingExtensions) or by [writing your
own](https://www.mercurial-scm.org/wiki/WritingExtensions). Extensions are
written in Python and can change the workings of the basic commands, add new
commands and access all the core functions of Mercurial.
* Easy to use - The Mercurial command set is consistent with what subversion
users would expect, so they are likely to feel right at home. Most dangerous
actions are part of extensions that need to be enabled to be used.
#### Fast * Open Source - Mercurial is free software licensed under the terms of the [GNU
General Public License Version 2](http://www.gnu.org/licenses/gpl-2.0.txt) or
Mercurial is implemented to be fast. You are able to generate diffs between any later version.
revsions, and switch between tags and branches with little time and effort.
Mercurial is used by large projects such as OpenJDK
([hg](http://hg.openjdk.java.net/jdk7/jdk7)) and NetBeans
([hg](http://hg.netbeans.org/)).
#### Platform Independent
Mercurial was written to be highly platform independent. Much of Mercurial is
written in Python, with small performance critical parts written in portable
C. Binary releases are available for all major platforms.
#### Extensible
The functionality of Mercurial can be increased with extensions, either by
activating the official ones which are shipped with Mercurial or downloading
some [from the wiki](https://www.mercurial-scm.org/wiki/UsingExtensions) or by
[writing your own](https://www.mercurial-scm.org/wiki/WritingExtensions).
Extensions are written in Python and can change the workings of the basic
commands, add new commands and access all the core functions of Mercurial.
#### Easy to Use
The Mercurial command set is consistent with what subversion users would
expect, so they are likely to feel right at home. Most dangerous actions
are part of extensions that need to be enabled to be used.
#### Open Source
Mercurial is free software licensed under the terms of the [GNU General Public
License Version 2](http://www.gnu.org/licenses/gpl-2.0.txt) or any later
version.
## Terminology ## Terminology
| Term | Definition | | Term | Definition |
| ------------- | ---------------------------------- | | ------------- | ---------------------------------- |
| Repository | A repository is a collection of revisions | | Repository | A repository is a collection of revisions |
| hgrc | A configuration file which stores the defaults for a repository. | | hgrc | A configuration file which stores the defaults for a repository. |
| revision | A committed changeset: has a REV number | | revision | A committed changeset: has a REV number |
| changeset | Set of changes saved as diffs | | changeset | Set of changes saved as diffs |
| diff | Changes between file(s) | | diff | Changes between file(s) |
| tag | A named named revision | | tag | A named named revision |
| parent(s) | Immediate ancestor(s) of a revison | | parent(s) | Immediate ancestor(s) of a revison |
| branch | A child of a revision | | branch | A child of a revision |
| head | A head is a changeset with no child changesets | | head | A head is a changeset with no child changesets |
| merge | The process of merging two HEADS | | merge | The process of merging two HEADS |
| tip | The latest revision in any branch | | tip | The latest revision in any branch |
| patch | All of the diffs between two revisions | | patch | All of the diffs between two revisions |
| bundle | Patch with permis­sions and rename support | | bundle | Patch with permis­sions and rename support |
## Commands ## Commands
@ -133,7 +109,6 @@ $ hg status
# Get help on the status subcommand # Get help on the status subcommand
$ hg help status $ hg help status
``` ```
### add ### add
@ -227,7 +202,8 @@ $ hg commit --amend -m "Correct message"
### diff ### diff
Show differences between revisions for the specified files using the unified diff format. Show differences between revisions for the specified files using the unified
diff format.
```bash ```bash
# Show the diff between the current directory and a previous revision # Show the diff between the current directory and a previous revision
@ -384,4 +360,4 @@ $ hg remove *.txt
* [Learning Mercurial in Workflows](https://www.mercurial-scm.org/guid) * [Learning Mercurial in Workflows](https://www.mercurial-scm.org/guid)
* [Mercurial Quick Start](https://www.mercurial-scm.org/wiki/QuickStart) * [Mercurial Quick Start](https://www.mercurial-scm.org/wiki/QuickStart)
* [Mercurial: The Definitive Guide by Bryan O'Sullivan](http://hgbook.red-bean.com/) * [Mercurial: The Definitive Guide by Bryan O'Sullivan](http://hgbook.red-bean.com/)