I\'ve used the \'hg convert\' command to try to move my SVN repository to hg, and it seems to work (takes a while and prints out all the commit messages as it goes), but at
You need to run hg update
to get a working copy.
(Such mercurial repositories without a working copy can be used as pure communication points where revisions are pushed to or pulled from, much like a subversion server. In this case it was created by hg convert, but you can also create such repositories with hg clone --noupdate
or hg update null
. Omitting the working copy files saves some space.)
Also, I would recommend you convert each project separately. If you give the URL for "project1", hg convert
will automatically detect the trunk
, branches
and tags
subfolders and will do the right thing.
In mercurial, branches are first-class concepts rather than just folders who happen to have been svn-copied from the trunk. The branches don't live in any user-visible location like in svn. Having multiple projects (each with their own branches) in a single mercurial repository doesn't really make sense.