Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 97270 Viewers
61 Video lessons · 84542 Viewers
71 Video lessons · 68741 Viewers
56 Video lessons · 101233 Viewers
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.
Your file was successfully uploaded.