Hacker News new | ask | show | jobs
by hngiszmo 3974 days ago
Oh, mercurial was my old love but due to peer pressure I'm now a git user. Always liked hg better and so happy to hear it's still vibrant :)
2 comments

After it became clear that darcs wasn't going to win the next gen source control wars I switched to mercurial. I now use and love git for its own charms, but I'd love to come across mercurial again professionally.

I own up to my preference to rewrite history—git has facilitated that in equal measure to mercurial—but my first source control love is mercurial queues. Queues taught me how to structure and sequence my changesets, and through that the structure of codebase evolution. The user experience is still unmatched by any patch queue on git.

Check out the mercurial evolve extension. You can now do all kinds of local rewriting, collapsing, whatever using regular mercurial commits.
It's worth looking at hg-git. It works brilliantly --- seamless interoperability between hg and git; you just tell hg to clone a git repository and it Just Works. Merges, branches, tags, the lot, but with sensible commands and workflow.

There are a few rough edges; creating a new branch (git branches are mapped onto hg bookmarks) is a bit clunky, and it's easier to create the branch at the git end and then do an hg pull to get all the metadata set up, but I mainly use it with github and github's UI for handling branches is pretty good.