Tagging


show more Tagging provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control show less
please wait ...

Tagging

Creating tags in Hg is really easy. First, let's see what tags are in the repository. In our case, there's only the one marked tip which represents as I said before the very most recent changeset in the main branch along the trunk. Again, remember the numbers, you see on the screen the changeset ID and the hash may differ between this system and your system. Create a tag it's very easy, hg tag v1, and now we do hg tags.

Now we can see that we now have two tags tip and v1 to check out the version marked by a tag we use hg update. But let's make a tag without tag v1 now. Let's make a change to our mainline and check it in so that we can switch back and forth between the tag and the mainline we can see the difference. So we'll come in here, and we'll change this colon to an ellipses, we'll commit that, and now we type f1.c. You can see we have the ellipses there, but if we see hg update, now we type f1.c, you can see it's back to a colon, and if we type hg update, ...

Tagging
Video duration: 1m 50s 2h 55m Intermediate

Viewers:

Tagging provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control

Subject:
Developer
Software:
Git Mercurial ALM/TFS Perforce
Author:
please wait ...