Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ongoing git vs hg (was: github.com/NetBSD/src 5 days old?)
On Tue, May 12, 2020 at 08:55:05PM -0700, Greg A. Woods wrote:
> For one, Mercurial has no staging area. That removes one level of
> the three-level hierarchy from my toolset. It’s hard to identify
> exactly when in my workflow this causes issues, but I’ve started to
> notice it. For example, it’s not possible to commit a hunk from my
> editor like I can with git and vim-gitgutter.
>
> I do the same with magit -- the staging area is a supreme benefit!
I disagree. Anyway, what git does here is "git add --patch" and the hg
eqivalent is "hg record" (which is not enabled by default; just add
"record=" in an "[extensions]" block in your .hgrc to enable it), so
the functionality is available for both tools.
> Mercurial also collapses all changes within a pull request
> (changeset) into a single commit.
That's just not true (as the next two comments in the thread clarify).
Thomas
Home |
Main Index |
Thread Index |
Old Index