Skip to content

Comment on Why Git Ain’t Better Than Xparent

Comments

Mecurial's MQ extension is basically git's index on steroids.

With a single MQ patch you basically have git's index. You can continually add things to the patch and then finalize it into a commit when ready.

With multiple patches you have multiple indexes which can be pushed and popped, reordered, folded together, finalized into commits, etc.

To be fair, MQ's user interface needs some work. It's far from perfect.

Hmm, I would have said that short-term branches with `rebase -i` are MQ on steroids. I always found MQ to be an odd beast, introducing a new set of commands that are far from orthogonal. Now that bookmarks are reasonably well-supported, albeit with somewhat surprising semantics and certain limitations (assuming you are used to git branches), I only use MQ as an analogue for `git stash`.

And if you don't like it, the Record extension ( http://mercurial.selenic.com/wiki/RecordExtension ) does most of what Git people would want, although it doesn't yet have the ability to split a modification into modifications of smaller granularity.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.