committing some lines
Uwe Brauer
oub at mat.ucm.es
Tue Oct 3 05:47:19 UTC 2023
>>> "SF" == Steve Fink <sphink at gmail.com> writes:
> On Sun, Oct 1, 2023 at 11:55 PM Hartmut Goebel <h.goebel at crazy-compilers.com>
> wrote:
>>
>> I will watch it, because I've heard such good things about magit, but to
> be clear: I don't have much interest in using git any more than I have to.
> I started with git and used it for some time before I ended up on a project
> that uses mercurial, and I don't want to go back. I still use git here and
> there, but even for github now I prefer using it via Facebook's sapling
> fork of mercurial. So until magit gains support for hg, it's only of
> academic interest to me.
> Mercurial doesn't have a staging area / index / cache, and I don't miss it.
>>
>> I miss it a lot, since it makes it much harder to split the current state
>> of the working directory into smaller pieces.
>>
>> Maybe a top-level commit which get amended (as you mention in your other
>> post) can work like a staging area. Actually I don't care about how this is
>> solved, as long a tooling is powerful — and this is what mercurial is
>> lacking,
>>
>> "hg commit --interactive" works per-chunk only — which is not fine-grained
>> enough for my needs. And the ncurses interface available for "hg commit
>> --interactive" is, well, has potential for improvement.
Maybe I was not clear enough. Magit is a emacs package, right?
As I said below Dmitry Gutov implemented a feature within emacs for hg,
that not only allows you to commit certain chunks, no you can even
delete lines from that chunk and still commit. I recommend you to give
it a try.
--
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the NATO membership of Ukraine.
I support the EU membership of Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20231003/d363c7e4/attachment.p7s>
More information about the Mercurial
mailing list