I learned version control with Subversion, and now I am trying to use Mercurial. In Subversion, I had one project in a repository by itself, and I could check it out into my Visual Studio Projects folder and work on it there. Now I am using a Mercurial repo with more than just my project. I have a separate local copy and central copy. The standard way of modifying the local copy is to modify the files directly in the repo, but I don’t like that, because I can’t relocate anything if need be. Is there a way to check out my project to wherever I want? I don’t like the edit-copy-paste-commit approach.
Share
Your problem is this:
Quote from “What Mercurial can’t do” in the Mercurial documentation:
–> When you use a distributed version control system like Mercurial, you should try to create one repository per project.
If you do it like this, your problem just goes away because if you need to modify Project X, you just clone Project X’s complete repository to your machine, and that’s it!
Coming from Subversion, maybe you should read a tutorial that explains the difference between SVN and HG, for example one of these: