committing some lines

John W jwdevel at gmail.com
Wed Sep 27 17:17:27 UTC 2023


I like Mercurial Queues for this sort of thing, though they're not so
well-advertised these days.
You can build patches interactively (qrecord), move them around
relative to each other, collapse them down to a single commit easily,
etc. Really powerful if you're comfortable thinking of your changes as
a list of patches.

I wonder if it would help for the original use-case in this thread,
but I'm not familiar with monkey, so not sure.

On 9/27/23, Simon Harrison <info at simonh.uk> wrote:
> On Wed, 27 Sep 2023 16:14:50 +0300
> Mitchell Elutovich <melutovich at gmail.com> wrote:
>
>> https://github.com/ananthakumaran/monky/issues/104#issuecomment-1054503171
>>
>> Someone mentioned to me recently that they come from git, magit, and
>> emacs background and would be interested in having this feature in
>> monky work, how well does mercurial support it; any existing
>> extensions that would help?
>
> To be honest, I only discovered commit -i (--interactive) a few weeks
> ago and I'd say it works really well. I've started using it a
> lot. My main use case at the moment is I'll be working on improving /
> fixing  some section of code, make some changes, but not really happy
> with it so I'll work on something a bit easier, then interactively
> commit the code I'm happy with.
>
> I prefer hg -i to shelve as I know that I've got hunks of uncommitted
> code lingering in the working directory. Shelving it seems like it
> might get forgotten about...
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list