Difference between revisions of "User:Minooz/Mercurial"

From CDOT Wiki
Jump to: navigation, search
(Created page with '==Mercurial== : [http://mercurial.selenic.com/ Mercurial Version Control] : Installing in windows[http://www.codza.com/mercurial-with-ssh-setup-on-windows] : Mozilla Mercurial [h…')
 
(Mercurial Documentation)
Line 18: Line 18:
 
: [http://matrix.senecac.on.ca/~mziaei1/CDOT/TortoiseHg.pdf Here] is a documentation for TortoiseHg.
 
: [http://matrix.senecac.on.ca/~mziaei1/CDOT/TortoiseHg.pdf Here] is a documentation for TortoiseHg.
  
*Some Basic Terms
+
*Some Basic Terms (from [http://matrix.senecac.on.ca/~mziaei1/CDOT/hgbook.pdf hgbook])
 
#The .hg directory is the “real” repository, and all of the files and directories that coexist with it are said to live in the ''working directory''. An easy way to remember the distinction is that the ''repository'' contains the history of your project, while the ''working directory'' contains a snapshot of your project at a particular point in history.
 
#The .hg directory is the “real” repository, and all of the files and directories that coexist with it are said to live in the ''working directory''. An easy way to remember the distinction is that the ''repository'' contains the history of your project, while the ''working directory'' contains a snapshot of your project at a particular point in history.
 
#The ''hg log'' command gives us a view of the history of changes in the repository. By default, this command prints a brief paragraph of output for each change to the project that was recorded. Each of these recorded events are called a ''changeset'', because it can contain a record of changes to several files. ''Changeset'' is also referred to as''change'', ''cset'', ''revision'' or ''rev''.
 
#The ''hg log'' command gives us a view of the history of changes in the repository. By default, this command prints a brief paragraph of output for each change to the project that was recorded. Each of these recorded events are called a ''changeset'', because it can contain a record of changes to several files. ''Changeset'' is also referred to as''change'', ''cset'', ''revision'' or ''rev''.

Revision as of 12:34, 23 September 2010

Mercurial

Mercurial Version Control
Installing in windows[1]
Mozilla Mercurial [2]
The Definitive Guide (book) [3]
compare version controls [4]
Understanding Mercurial [5]
Tutorial-wiki [6]
TortoiseHg Documentation[7]
Eclipse-Mercurial [8]
More about installation [9]
Eclipse-Mercurial Video [10]-Demo
Documentation for Eclipse-Mercurial [11]


Mercurial Documentation

Here is a documentation for hg.
Here is a documentation for TortoiseHg.
  • Some Basic Terms (from hgbook)
  1. The .hg directory is the “real” repository, and all of the files and directories that coexist with it are said to live in the working directory. An easy way to remember the distinction is that the repository contains the history of your project, while the working directory contains a snapshot of your project at a particular point in history.
  2. The hg log command gives us a view of the history of changes in the repository. By default, this command prints a brief paragraph of output for each change to the project that was recorded. Each of these recorded events are called a changeset, because it can contain a record of changes to several files. Changeset is also referred to aschange, cset, revision or rev.
  3. Changeset field has the format of a number (identifier, which is only valid in that repository) followed by a colon, followed by a hexadecimal (or hex) string. These are identifiers for the changeset. The hex string is a unique identifier: the same hex string will always refer to the same changeset in every copy of this repository. The number is shorter and easier to type than the hex string, but it isn't unique: the same number in two different clones of a repository may identify different changesets. changeset: 0:0a04b987be5a
  4. Mercurial uses revision numbers purely as a convenient shorthand. If you need to discuss a changeset with someone, or make a record of a changeset for some other reason (for example, in a bug report), use the hexadecimal identifier.
  5. Some changesets, have a tag field. A tag is another way to identify a changeset, by giving it an easy-to-remember name. tag: tip