Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Okay, in order to get GUI support for Hg, we use a free tool called TortoiseHg. The link for downloading this you'll find in the Links.rtf file in the Exercise Files directory. Go through, we accept the license terms, we want to have everything installed the complete package, we'll leave the default installation directory alone, and the setup here will take just a second, and now we're all finished. Now let's go back to our Explorer and look at the files on here, and if we go into Hg you right-click on Hg, you'll notice that it sees that now that this is an Hg directory.
If we right-click on something else, you don't see HG commit, but if you see HG Commit, you know that that particular directory has an HG repository in it. So if we look at HG Workbench, this allows us to see the full GUI that is supported by these tools. You'll be able to see here a graphic representation in that railroads diagram there on the left of our branching and merging. Some of the other things you can do with this shell integration is you can go in here into the directory, click on the file, and say things like Revision History or Remove or Forget files, Rename or Revert all from inside your visual shell.
And that's it for Mercurial. We've created a repository, we've added some files ,checked in, checked out, reverted, we've done some tagging, we've done some branching and merging, and that will get you up and going on distributed version control with Mercurial.
Get unlimited access to all courses for just $25/month.Become a member