Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
This course is a gateway to learning software version control (SVC), process management, and collaboration techniques. Author Michael Lehman reviews the history of version control and demonstrates the fundamental concepts: check-in/checkout, forking, merging, commits, and distribution. The choice of an SVC system is critical to effectively managing and versioning the assets in a software development project (from source code, images, and compiled binaries to installation packages), so the course also surveys the solutions available. Michael examines Git, Perforce, Subversion, Mercurial, and Microsoft Team Foundation Server (TFS) in particular, describing the appropriate use, features, benefits, and optimal group size for each one.
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, and you can see it's back to the ellipses. So that's how easy it is to do tags in Hg.
Just remember when you switch back to the tag, you're essentially moving the update pointer backwards. So you may want to create a branch if you're going to be making changes when you switch back to say version 1 in order to make an update to version 1 of your source code. But branching and merging is very easy in Hg, and we'll see that in the next movie.
There are currently no FAQs about Fundamentals of Software Version Control.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.