4 ms·
For Mercurial, there's this "extension": http://mercurial.selenic.com/wiki/RecordExtension http://mercurial.selenic.com/wiki/RecordExtension "Extension" in quo
by Erwin 13y ago
For Mercurial, there's this "extension": http://mercurial.selenic.com/wiki/RecordExtension 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.
- zck 13y agoI 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.
- krupan 13y agoif 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-mercurial-queues/ http://stevelosh.com/blog/2010/08/a-git-users-guide-to-mercu...
- reinhardt 13y agoAnd an improved (real) extension: http://mercurial.selenic.com/wiki/CrecordExtension http://mercurial.selenic.com/wiki/CrecordExtension