Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2005-08-26 00:58:13
Size: 595
Editor: waste
Comment:
Revision 16 as of 2008-01-04 13:23:29
Size: 894
Editor: abuehl
Comment: +hg tags
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
'''Note''': If you are migrating from ["CVS"], please {anchorlink: CvsConcepts#tags read this discussion of CVS tags} before you continue. ''hg tag''
Line 5: Line 5:
A tag is a symbolic identifier for a ["ChangeSet"]. ''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"]. It can contain any characters except ":" (colon), "\r" (Carriage Return) or "\n" (Line Feed).
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/hgrc'' file in a 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.
 * 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 "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

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"]. 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.

  • 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

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