

Note that the numeric revision number depends on the sequence by which changes got pulled into a repository and may therefore vary even on repositories containing the same changesets. In the above diagram tag_a refers to revision 2, since revision 14 is higher than revision 13. the one with the higher numeric revision number) wins. If two definitions/changes of tags seem unrelated like in the following diagram, the " tipmost" (e.g. There is no general "correct" solution to this problem. A difficult case arises, if the same tag specifies two different revisions in two different heads. The tags that are in effect at any given time are the tags specified in each head. In case of a merge conflict on your tags, the safest option is to take both sides.Ĥ.1. hgtags files are merged just like any other file, which can result in file conflicts, even though the resolution is clear. hgtags in different heads, it does not use that knowledge when attempting to merge.
TORTOISEHG KEEPS SAYING HGSUB CHANGED HOW TO
While Mercurial knows how to handle different. Why? How should I merge them?ĭifferent sets of tags, coming from different branches and heads, can lead to a merge conflict. My tags had a conflict when I was merging. hgtags and the tags stored there are handled the same.Ĥ. The format of this file is identical to the one of. hg/localtags, which will not be distributed or versioned. You can use "hg tag" command with an option -l or -local.
TORTOISEHG KEEPS SAYING HGSUB CHANGED UPDATE
Updating a working dir to a particular tag will take that directory back to a point before the tag itself existed.Ĭloning a repo to a particular tag will give you a new repo that does not have that tag.Ĭommon wisdom says that to avoid the confusion of a disappearing tag, you should clone the entire repo and then update the working directory to the tag.

What if multiple lines with different revisions use the same tag name in.

