Differences between revisions 14 and 19 (spanning 5 versions)
Revision 14 as of 2007-01-12 23:30:27
Size: 842
Editor: PaulBoddie
Comment: Hopefully correct observation about deleting tags.
Revision 19 as of 2008-01-13 16:04:45
Size: 932
Editor: abuehl
Comment: lowercase links
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

''hg tag''

''hg tags''
Line 5: Line 9:
A tag is a symbolic identifier for a ["ChangeSet"]. It can contain any characters except ":" (colon), "\r" (Carriage Return) or "\n" (Line Feed). A tag is a symbolic identifier for a [:ChangeSet:changeset]. It can contain any characters except ":" (colon), "\r" (Carriage Return) or "\n" (Line Feed).
Line 7: Line 11:
["Mercurial"] has two kinds of tag. Mercurial has two kinds of tag.
Line 9: Line 13:
 * A ''local'' tag is a convenience identifier that is not revision controlled, does not propagate with other changes, and lives in the {{{.hg/localtags}}} file in a repository.  * A ''local'' tag is a convenience identifier that is not revision controlled, does not propagate with other changes, and lives in the {{{.hg/localtags}}} file in a [:Repository:repository].
Line 11: Line 15:

----
CategoryCommand CategoryGlossary

Tags in Mercurial

hg tag

hg tags

Note: If you are migrating from ["CVS"], please [:CvsConcepts#tag:read this discussion of CVS tags] before you continue.

A tag is a symbolic identifier for a [:ChangeSet:changeset]. It can contain any characters except ":" (colon), "\r" (Carriage Return) or "\n" (Line Feed).

Mercurial has two kinds of tag.

  • A local tag is a convenience identifier that is not revision controlled, does not propagate with other changes, and lives in the .hg/localtags file in a [:Repository:repository].

  • A "regular" tag (with no special specifier) is revision controlled, does propagate with other changes, and lives in the .hgtags file in a repository. (It is therefore possible to remove tags by editing .hgtags and committing the change - this being the nearest equivalent to cvs tag -d).


CategoryCommand CategoryGlossary

Tag (last edited 2013-09-01 02:00:16 by KevinBot)