Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2008-01-04 15:56:45
Size: 344
Editor: abuehl
Comment: +cat
Revision 8 as of 2011-02-25 10:59:23
Size: 960
Comment: added french translation link
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
In ["Mercurial"], the history of every file is composed of one or more revisions. One or more revisions are combined to make a ChangeSet. In Mercurial, the term '''revision''' can have two different meanings, depending on context.
Line 5: Line 5:
People rarely talk about or make use of revision information for individual files; instead, they usually talk about the ChangeSet in which a revision appears. Most often, "revision" refers to a distinct [[ChangeSet|changeset]] in a [[Repository|repository]], for example by specifying a repository-local [[RevisionNumber|revision number]] for the {{{--rev}}} option of the {{{hg update}}} or the {{{hg merge}}} command (conceptually referring to "a revision of the repository").

The term "revision" is also used as the short form for the longer term "file revision", which refers to a certain version of a file stored in the repository (conceptually referring to "a revision of a file").

This dual-use of the term "revision" naturally follows from the fact that Mercurial uses the same technical method for storing changeset information and for storing file versions in the repository, namely the [[Revlog|revlog]] format (see [[Design]]).
Line 8: Line 13:

[[FrenchRevision|Français]]

Revision

In Mercurial, the term revision can have two different meanings, depending on context.

Most often, "revision" refers to a distinct changeset in a repository, for example by specifying a repository-local revision number for the --rev option of the hg update or the hg merge command (conceptually referring to "a revision of the repository").

The term "revision" is also used as the short form for the longer term "file revision", which refers to a certain version of a file stored in the repository (conceptually referring to "a revision of a file").

This dual-use of the term "revision" naturally follows from the fact that Mercurial uses the same technical method for storing changeset information and for storing file versions in the repository, namely the revlog format (see Design).


CategoryGlossary

Français

Revision (last edited 2011-02-25 10:59:23 by Jérôme Melis)