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.
Let's do some source code control with Mercurial. Mercurial is a distributed control system similar to Git, which means that the repository is hosted on your box. You can also host repositories on another developer's box and they host the same complete repository, and you exchange information either with pull and push or with import and export. And then you can also have server-based connections to Mercurial repositories which allow you to use pull and push to repositories in the cloud for shared repository use.
It's free, and there are also commercial hosting options. You can get the free version, as it says, here on the screen, at mercurial.selenic.com/wiki/Mercurial, and there's also commercial hosting from a company called atlassian. We're going to install a local version of Mercurial which is abbreviated Hg, as in the elemental symbol for Mercury. Because Mercurial is such a tongue twister, I'm going to call it Hg throughout the remainder of movies in this chapter. The link for the installation binary is in the Links.rtf file in the Exercise Files directory.
Let's go ahead and fire up the setup here, and we'll go through the setup wizard, we do accept the license terms, then we're going to install the complete package and accept the location for the default directory. Now we're going to click install. All right, and that's it. Now we've got Mercurial installed. Now let's fire up a command line and make sure our installation is correct. Just like with Git, we can just do hg-version, and so we go we've got been Mercurial Distributed SCM (version 2.3.2), your version maybe newer depending on how long after we've got finished recording this course that you downloaded your installation Mercurial.
We're all set. We've got it installed. Let's go make a repository and some projects.
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.