Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As someone who used both git and hg, I must say I'm sorry git won. Its chrome sucks (though less than it did) and the naming is confusing as hell. Still, if everyone uses git, and you have to use BitBucket for hosting instead of GitHub/Lab... Nah, not worth it. Kudos to you for sticking with it!


As someone who tried out both git and hg around 2012 with only svn experience, I found hg confusing and git easy to understand.

Unfortunately it's been so long since then I don't remember exactly what it was that confused me. Something around how they handle branches.


I've only recently started to use mercurial in earnest for one project (legacy reasons). It's branches for me too. At least considering my experience with it is limited.

I don't like how every time you pull someone else's changes you end by default in a state that is probably similar with git's detached head. With git, most of the time you are on a named branch, you know where you are and you pull/push stuff out of said named branch. With mercurial some of the branches are unnamed and it's still confusing why I'd want that. Perhaps the original designers didn't like having private local-only named branches, I don't know.

This may just be an artefact of my very limited experience with hg though.


When not sharing with others, bookmarks is the way to go - not branches. Mercurial bookmarks act more like git's branches. I think they've now made it so that you can share them too, but since no one else at work uses mercurial, I don't have experience with distributed bookmarks.


> Still, if everyone uses git, and you have to use BitBucket for hosting instead of GitHub/Lab

Isn't this supporting my point? That a barrier to use mercurial was that people preferred Github over Bitbucket?

> Kudos to you for sticking with it!

It's simple a lot easier to use it vs Git! Kudos to whoever suffers through the latter!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: