Re:Kallithea: A free code hosting solution for Git and Mercu...
by twic on Saturday July 05, 2014 @07:33AM
(#7991604)
Aha, thanks for the tip! I'm no longer using hg-git, but i will try to remember this in case i ever do again.
I don't think i ever overwrote anyone else's commits, but i did push a load of deleted bookmarks. This was particularly annoying, because the repository in question was our Puppet code, in which all the branches are automatically checked out on the puppetmaster. Resurrecting 20 dead branches is a great way to eat a load of disk space. The bug is still open:
https://bitbucket.org/durin42/hg-git/issue/107/hg-git-pushes...
Another issue I had been bitten by hg-git in the past is overwriting other people's commits when I push, as if it was running --force. Maybe that was a bug that had been fixed since but to be on the safe side I've been using an ugly workaround: have an intermediate local bare git repo where I pull from/push to and have it talk to the upstream git repo.