Hacker News new | past | comments | ask | show | jobs | submit login

For Mercurial, there's this "extension": http://mercurial.selenic.com/wiki/RecordExtension

"Extension" in quotes, because it comes with the Hg installation -- it's just one of those advanced things disabled by default.




I love mercurial, but you don't get quite the benefit of `git add -p`, because mercurial has no staging area. If you quit out of `git add -p`, you still get the benefit of having whatever you added staged. In contrast, if you quit `hg record` (because you wanted to change something before committing), you have to re-record all the changes you wanted.


if you use mercurial's mq extension you get the equivalent of a staging area if you really want one[1]. There is qcrecord to get git add -p functionality with mq.

Personally, I have stopped using queues and I use rebase and histedit extensively now. I see no need for patch queues or a staging area when you can edit and rearrange commits easily.

1. http://stevelosh.com/blog/2010/08/a-git-users-guide-to-mercu...


And an improved (real) extension: http://mercurial.selenic.com/wiki/CrecordExtension




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

Search: