We have a very large Mercurial repository - about 11GB with approximately 130,000 commits. I am trying to convert it to git using the hggit extension of Mercurial, and I am having a strange experience.
As a side note, I am doing this on Windows 10
First, I create an empty directory, and call git init
to initialize the git repository.
Then, I go to the hg directory and issue the (unusual to me) command hg bookmark hg
as per a few articles I read.
Then, I issue hg push c:\path\to\repo
Here is the result:
It appears that the repository was successfully processed and pushed.
However, when I go to the git repository directory, it is empty, except for the .git directory. In that git directory, all the tags are present, and there is a large *.pack file of about 11GB, which I assume is related to our repository, given the size.
I thought that I needed to checkout
a branch before the files would show up, but an attempt to checkout a recent branch results in:
error: pathspec 'rio' did not match any file(s) known to git.
So my question is: What do I need to do to get my files to appear in the git respository?