I've converted a Mercurial repository to Git, using fast-export. But the Git repository is huge: 18 GB for Git vs. 3.4 GB for Mercurial. None of my cleanup steps have helped.
My Mercurial repository is dominated by one 65 MB file (Anki flashcards in SQLite format) that gets updated daily. Its history has grown to be 2.9 GB, under .hg/store/data.
I was hoping Git might be able to compress the history a little better, but I have been unable to shrink the repository below 18 GB!
I have tried git prune, git gc, and others, to no avail. I even tried zipping the .git folder, and it still came out to be exactly 18 GB.
Am I missing something?
Update: I tried Bazaar (bzr), and it compressed my repository to only 2.3 GB. Nice!